Newton’s Iteration is an algorithm for calculating the square root of a number by iteratively refining an approximation. The algorithm eventually converges on the result.

Putting it all together, we get the fixed-point solution shown below.

The fixed-point function defines a function is-close? to test whether the approximation is within epsilon of the solution, a try function that

Newton's iterative method of calculating a square root