Am I dreaming, or is this an example straight from SICP? (I remember something like this...)
EDIT: Ok, so obviously not "straight" from SICP. But pretty close.
Chapter 1: "Example: Square Roots by Newton's Method" http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html...