The reciprocal Fibonacci constant is defined by the infinite sum: where Fn are the Fibonacci numbers

Question:

The reciprocal Fibonacci constant Ψ is defined by the infinite sum:
n-1

where Fn are the Fibonacci numbers 1, 1, 2, 3, 5, 8, 13, ... . Each element in this sequence of numbers is the sum of the previous two. Start by setting the first two elements equal to 1, then Fn = Fn€“1 + Fn€“2 €¢ Write a MATLAB program in a script file that calculates Ψ for a given n. Execute the program for n = 10, 50, and 100.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: