Compare commits
No commits in common. "8d2504ab479701e400bdaea5fea6eeebb8f0d643" and "733a7c6d93793f14f490b50c8b1f3af1ecfb5dff" have entirely different histories.
8d2504ab47
...
733a7c6d93
14
MIT/sqrt.scm
14
MIT/sqrt.scm
|
@ -1,14 +0,0 @@
|
|||
(define (sqrt x)
|
||||
(define tolerance 0.00001)
|
||||
(define (good-enough? y)
|
||||
(< (abs (- (* y y) x)) tolerance))
|
||||
(define (improve y)
|
||||
(average (/ x y) y))
|
||||
(define (try y)
|
||||
(if (good-enough? y)
|
||||
y
|
||||
(try (improve y))))
|
||||
(try 1))
|
||||
(sqrt 13)
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
(define add2(+ 2))
|
6
fixum/hello.scm
Normal file
6
fixum/hello.scm
Normal file
|
@ -0,0 +1,6 @@
|
|||
; The first program
|
||||
|
||||
|
||||
(begin
|
||||
(display "Hello, World!")
|
||||
(newline))
|
Binary file not shown.
Loading…
Reference in a new issue