Skip to content

Commit

Permalink
Fib(n) is closest Int to (GoldenRatio)^n/sqrt(5)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwinston committed Jun 21, 2014
1 parent eb27620 commit 9a9df4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file added ex1.13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions ex1.13.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
;; Want to show (= (fib n) (/ (- (pow ϕ n) (pow ψ n)) (sqrt 5)))

;; First, show by inspection that the equation holds for n=0 and n=1

;; Then, assume truth of the formula and show that the presumed expression for
;; (fib (+ n 1)) is correct. I found this to be true.

;; A snaphot of my (disorganized) work is in ex1.13.jpg

0 comments on commit 9a9df4e

Please sign in to comment.