Question: Fibonacci sequence 2 solutions submitted (max: 10) | View my solutions The fibonacci sequence 1,1,2,3,5,8,13, ... has been studied by people who study that kind

Fibonacci sequence 2 solutions submitted (max: 10) | View my solutions The fibonacci sequence 1,1,2,3,5,8,13, ... has been studied by people who study that kind of thing for over 800 years. 1. Use a for loop to create an array called fib containing the first 25 terms in the Fibonacci sequence. Do not use the built in fibonacci command in MATLAB. 2. Now create an array of length 24 called ratio that consists of the ratios of consecutive entries in the array fib: 1 2 3 5 8 1'1'2'3'5" The larger number should be in the numerator. FYI: the terms in the ratio sequence converge to 1.618033..., the golden ratio! Script 1 %Create fib array 3 %Create ratio array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
