Programming Example
Write a program to solve the following problem- Euler's number e is used as the base of natural logarithms. It may be approximated using the following formula: where n is sufficiently large. Write a program that approximates e using a loop that terminates when the difference between the two successive values of e is less than 0.0000001.
Write a program to solve the following problem- Euler’s number e is used as the base of natural logarithms. It may be approximated using the following formula: where n is sufficiently large. Write a p