this function approximates e-Euler's number
e is the estimated value whereas k is the smallest value at which
the function ceases and the approximation differs from exp(1)
(i.e., the value returned MATLAB’s built-in function) by no more than the
positive scalar, delta.
Note: e = summation(1/k!), for k = 0:inf.