SICP Exercise 1.8

Exercise 1.8.  Newton's method for cube roots is based on the fact that if y is an approximation to the cube root of x, then a better approximation is given by the value


Use this formula to implement a cube-root procedure analogous to the square-root procedure.

SOLUTION

The code his here:

SICP Exercise 1.8 cube-root

Comments

Popular posts from this blog

SICP Exercise 2.18 reverse

SICP Exercise 1.45 multi average damp

SICP Exercise 2.96 pseudoremainder