Okay so I have the identity for e
e = limit (Rn) as n --> infinity
Rn = (1+1/n)^n
I need to make a Log-Log plot of e - Rn for n = 5,15...500.
So far this is my code;
n = [5:10:500] ;
R = (1 +1./n).^n;
L = limit(R,n,inf);
P = loglog(e-R);
The message I get is this;
Undefined function or method 'limit' for input arguments of type 'double'.
Error in ==> Project1 at 153
k = limit(r,n,Inf)