#Help (someone who is familiar with maple )

4 messages · Page 1 of 1 (latest)

novel adder
#

I have a maple question that I have difficulty solving :

Knowing that e= lim n-->infinity(1+1/n)^n, write a program that finds the smallest value of n so that the absolute error on the number e is smaller than 10^(-3)

tropic tartanBOT
wide steppe
#

Maple seems to be a program language, so I’m gonna guide u using generalized programming language as best as I can

#

What I like to do is write pseudo code. So I want to go through each n, plug it into my (1+1/n)^n expression, and find a value. If the difference between that value and 10^-3 is smaller than the difference between my previous value and 10^-3, then it will become my new “minimum value”. And if it isn’t, then that’s when I stop plugging in new values of n and stop the program