Question: Old MathJax webview please answer it in java. [50 points) The exponential term e is approximated using the following series: 1 1 1 1 1
Old MathJax webview

please answer it in java.
[50 points) The exponential term e is approximated using the following series: 1 1 1 1 1 1 e = +-+ + + + + 1! 2! 3! 4! 5! Write a program that prompts the user to enter a value for n and the program will give you the value of e. The program keeps asking for n until you enter a NEGATIVE number. n Sample run: tai n! n n (neagtive number to quit): 10000 e approximated by 10000 terms is: 2.7182010284590455 n (neagtive number to quit): 1000 e approximated by 1000 terms is: 2.7182818284590455 n (neagtive number to quit): 2500 e approximated by 2500 terms is: 2.7182818284590455 n (neagtive number to quit): 50000 e approximated by 50000 terms is: 2.7182818284590455 n (neagtive number to quit): 8 Goodbye BUILD SUCCESSFUL (total time: 22 seconds)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
