summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sicp.org18
1 files changed, 18 insertions, 0 deletions
diff --git a/sicp.org b/sicp.org
index 5fde8ae..35880ea 100644
--- a/sicp.org
+++ b/sicp.org
@@ -60,3 +60,21 @@ and will evaluate to ~0~.
to the last operand, which is a call to the ~sqrt-iter~ procedure,
we get into infinite loop of evaluating the ~sqrt-iter~ procedure
again and again.
+*** 7
+
+#+BEGIN_SRC scheme
+$ guile
+scheme@(guile-user)> (sqrt 0.1)
+$1 = 0.31622776601683794
+#+END_SRC
+
+#+BEGIN_EXAMPLE
+ 0.31622776601683794
+0.0001 = 0.316245562280389
+0.00001 = 0.31622776651756745
+0.000001 = 0.31622776651756745
+0.0000001 = 0.31622776651756745
+0.00000001 = 0.31622776651756745
+0.000000001 = 0.31622776651756745
+0.0000000001 = 0.31622776601683794
+#+END_EXAMPLE