Skip to content

Commit 9445e93

Browse files
authored
Update README.md
1 parent c93bde2 commit 9445e93

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

homework/github_week3/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,20 @@ git push origin master
6262
```
6363

6464
8. Create a pull request to the main repo.
65+
66+
## Needed formulae
67+
68+
Formula for the nth term:
69+
```math
70+
F_n = \frac{\Phi^n - (-\phi)^n}{\sqrt{5}}
71+
```
72+
73+
Where $\Phi$ and $\phi$ are:
74+
```math
75+
\Phi = \frac{\sqrt{5} + 1}{2}
76+
```
77+
78+
Results within code will likely require rounding due to floating-point inaccuracy.
79+
```math
80+
\phi = \frac{\sqrt{5} - 1}{2}
81+
```

0 commit comments

Comments
 (0)