Exercise approximates e using the following series:
You can approximate e using the following series:
e = 1 + 
Write a program that displays the e value for i = 10000, 20000, …, and 100000. (Hint: Because i! = i × (i - 1) × … × 2 × 1, then

Initialize e and item to be 1 and keep adding a new item to e. The new item is the previous item divided by i for i = 2, 3, 4, . . . .)
e = 1 + 
In order to get better precision, use BigDecimal with 25 digits of precision in the computation. Write a program that displays the e value for i = 100, 200, . . . , and 1000.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.