Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
You can try using taylor series to calculate more precise square roots. https://www.sololearn.com/discuss/292240/?ref=app The math remains the same.
28th Jun 2018, 8:55 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 2
You can read the formula from here : https://www.mathsisfun.com/algebra/taylor-series.html The derivative of √x is 1/(2√x)
28th Jun 2018, 8:59 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 2
Here is a better process, without derivatives : burningmath.blogspot.com/2013/12/finding-square-roots-of-numbers-that.html?m=1
28th Jun 2018, 9:06 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 1
you can always use the newton method: https://en.m.wikipedia.org/wiki/Newton%27s_method
28th Jun 2018, 9:58 AM
hinanawi
hinanawi - avatar