Anonymous user
Talk:Fibonacci sequence: Difference between revisions
m
→Alternative: enlarged the formula (font) so that it could be read easier.
(titled the 1st talk section so TOC will appear in front.) |
m (→Alternative: enlarged the formula (font) so that it could be read easier.) |
||
Line 51:
Fibonacci sequence can also be calculated using this formula.
<!-- Sorry for the "changing" of someone's comment, but I couldn't read the original formula, so I though an enlarged version would be beneficial to everyone. --- Gerard Schildberger. -->
<math>Fib[n] = \frac{(1+\sqrt{5})^n - (1-\sqrt{5})^n}{2^n \sqrt{5}}</math>▼
▲ <big><big><math> Fib[n] = \frac{(1+\sqrt{5})^n - (1-\sqrt{5})^n}{2^n \sqrt{5}} </math></big></big>
Size of the floating-point type (float, double, long double etc..) will limit how high n can be calulated.
|