Answer:
see explaination
Explanation:
MATLAB script:
% MATLAB script that calculates reciprocal Fibonacci constant Ψ
% Initial Values
a0 = 1;
a1 = 1;
% Looping variable
i = 2;
% Reading n value from user
n = input(' Enter n value: ');
% Initializing sum
sum = (1/a0) + (1/a1);
% Loop till i reaches n value
while i <= n
% Finding term in Fibnocii series
a2 = a0 + a1;
% Accumulating Sum
sum = sum + (1/a2);
% Updating previous terms
a0 = a1;
a1 = a2;
% Incrementing loop variable
i = i + 1;
endwhile
% Printing result
printf("\n Reciprocol Fibnocii Constant: %f \n", sum);
See attachment for sample output
Google, would be the best because of all of the different site, hope this helps!
: )
Answer:
that's muddled up I can't make out the question