![]() |
|
Fibonacci Sequence The Fibonacci Sequence, named for an Italian mathematician by the name of Leonardo Fibonacci, was originally used to predict patterns in the breeding of rabbits. The first two terms of the sequence is 1 and 1. Subsequent terms of the sequence are formed by adding the previous two terms together; for example, the 3rd term would be 1 + 1 = 2, the 4th would be 1 + 2 = 3, the 5th 2 + 3 = 5, and so on. This program allows the user to select the number of times the sequence is repeated (minimum once, maximum 10 times). When the user clicks the "Generate Sequence" button, a series of Miffys (rabbit icons) corresponding to the Fibonacci sequence will appear. |
| ©2000 Peggy Wong |