Hi,
I was going through the documentation for square root code used by DSP library. It is written in documentation that DSP library uses the formula y(new) = y(old) - ( y(old)^2 - x )/2 to calculate the square root. IT also mentions that this is Newton's method. But when I searched for Newton's method for calculating square root I came up with the formula y(new) = ( y(old) + x/y(old) )/2 or y(new) = y(old) (3 - x*y(old)^2 )/2.
Can anyone please help me find how Newton's method resulted in formula: y(new) = y(old) - ( y(old)^2 - x )/2 for calculating square root?
Thanks
Abhishek Seth