function eapprox = ecomp(N)
%Approximation to e with N terms
eapprox = 1;
term = 1; tic
for jj = 1:N
    term = term./jj;
    eapprox = eapprox + term;
end 
toc
end

