Question: However, a Fibonacci sequence can be created with any two starting num. bers. Fibonacci sequences appear regularly in nature. For example, the shell of the
However, a Fibonacci sequence can be created with any two starting num. bers. Fibonacci sequences appear regularly in nature. For example, the shell of the chambered nautilus see Figure P grows in accordance with Fibonacci sequence.
Prompt the user to enter the first two numbers in a Fibonacci sequence, and the total number of elements requested for the sequence. Find the sequence and store it in an array by using a for loop. Now plot your results on a polarplot graph. Use the element number for the angle, and the value of the element in the sequence for the radius.
Repeat the preceding problem, this time using a while loop.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
