function a = myeuler1(n) % myeuler1(n) is an approximation of Euler's number using the formula % e ~ (1+1/n)^n a = (1+1/n)^n;