Approximation of Euler number e

Approximation of Euler number e The Euler number e can be approximated as follows:
e_ap(n)= 1/0! + 1/1! + 1/2! + 1/3! +⋯+ 1/n!
The approximation error is the smaller, the higher n is.
Q: Enter e_ap(13) as a number with 13 valid digits! Do not enter leading or trailing zeros or blanks.

2 Comments

Where is the answer?
Walter Roberson
Walter Roberson on 8 Sep 2015
Edited: Walter Roberson on 8 Sep 2015
2.718281828459
Note: the leading "2" counts as a valid digit.

Sign in to comment.

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!