Question: 5. Write a script that enables you to calculate and display the Fibonacci sequence (see detail here, wiki iki mber). The outcome of this script

5. Write a script that enables you to calculate and display the Fibonacci sequence (see detail here, wiki iki mber). The outcome of this script is to generate the first 20 na Fibonacci sequence, ie., 0, 1, 1, 2, 3, 5, 8, 13, 21, The Fibonacci sequence begins with two numbers 0 and 1, and each successive number is the sum of the preceding two numbers, e.g., 1 (third number in sequence)-0 (first number in sequence) +1 (second number in sequence). (2pt) To receive the full credit, your script (fibo[YOUR WSUIDL.m) MUST include loop statement AND and display the Fibonacci on the command window rin You may need to write a script (m-file), i.e., "fibo_[YOUR WSUIDJ.m" to provide Matlab/Octave command shown below clear all % clear all variables used before N=20; % number of Fibonacci seguence [Students need to finish this part] while i >fibo_IYOUR WSUID]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
