2 ms·
Indeed - taking the square root of numbers iteratively is very satisfying, because of the super fast convergence. Sqrt 10: Guess 3, then residual is 10 - 33 =
by FabHK 1y ago
Indeed - taking the square root of numbers iteratively is very satisfying, because of the super fast convergence.
Sqrt 10: Guess 3, then residual is 10 - 33 = 1, so next guess add 1/(23) = 1/6, so now we're at 3.166..., and the square of that is 10.0277..., so you're very close already.