Looking closely at the infinite series it would be reasonabl
Looking closely at the infinite series it would be reasonable (and correct) to conclude that it diverges. However, it may be surprising that the similar infinite series does not diverge, instead converging to a number (albeit irrational): In similar fashion, when reciprocals of the factorials are added together, they also produce a series that converges to an important (and irrational) number with which you are probably familiar: e (Euler\'s number). Another convergent series is that of the reciprocals of the Fibonacci numbers, which sum to produce another irrational number called the reciprocal Fibonacci constant, or psi. Write a MATLAB script named PP1_P3a that calls your function get_fact to estimate e. Write a MATLAB script named PP_P3b that calls your function get_fib to estimate psi. Your estimates must be to at least 10 decimal places.
Solution
n=100000000000000;
sum=0;
for i=1:n
f=get_fact(n);
e=sum+(1/f);
end
____________________________________________________
n=100000000000000;
sum=0;
for i=1:n
f=get_fib(n);
e=sum+(1/f);
end
