(define (square x) (* x x)) (define (close-to-cube x y) (< (abs (- y x)) 0.0001)) (define (improve-cube x y) (/ (+ (/ x (square y)) (* 2 x)) 3)) (define (cube-recur x y ) (if (close-to-cube x y) x (cube-recur (improve-cube x y) y ))) (define (cube-root y) (cube-recur 1.0 y))
Any suggestions? Help? Advice?
Thanks Alot


Sign In
Create Account


Back to top









