<thomasguu@my-deja.com> wrote:
+---------------
| But I have problems defining sgrt and fixed-point:
| (define (sqrt <??>)
| <??>
| ((iterative-improve <??> <??>) 1.0))
+---------------
Do a Web (or textbook) search for "Newton-Raphson", and read
the description of the Newton-Raphson method of square roots.
You should then find it very straightforward to write an
"improve" function to pass to "iterative-improve".
-Rob
-----
Rob Warnock, 31-2-510 rpw3@sgi.com
Network Engineering http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
1600 Amphitheatre Pkwy. PP-ASEL-IA
Mountain View, CA 94043