DIR Return Create A Forum - Home
---------------------------------------------------------
techsuns
HTML https://techsuns.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Puzzles && Algorithms
*****************************************************
#Post#: 454--------------------------------------------------
Sqaure Root Function
By: kpr29 Date: February 15, 2013, 10:20 pm
---------------------------------------------------------
@Techsuns: Can any one give me the pseudo code of sqaure root
function.
Input: a number
Output: square root of the number.
Design ur own algo..... dont use any call from standard library
#Post#: 455--------------------------------------------------
Re: Sqaure Root Function
By: adi Date: February 16, 2013, 9:07 am
---------------------------------------------------------
@kp you need to use tricks from numerical analysis like newton
method
#Post#: 456--------------------------------------------------
Re: Sqaure Root Function
By: kpr29 Date: February 16, 2013, 11:43 pm
---------------------------------------------------------
@Adi: Indeed u have to use Newton Raphson......... But I asked
for algorithm....... If not correct code give me pseudo
code.........
kp.
*****************************************************