Question: program language is python 3. (10 points) Read Calculating the value of e Shows various historical methods for finding the value of e, and includes
3. (10 points) Read Calculating the value of e Shows various historical methods for finding the value of e, and includes recent results by Brothers to make the calculation more efficient. Murray Bourne a) Write a program that approximates the value of e (base of the natural logarithm) using Taylor series (sometimes called Newton series). The program should terminate when it gets within 10-15 of the true value of e. b) Write another program that approximates e using Brothers' formula, with the same termination criteria as the previous program. c) Which program takes fewer iterations to get within 1e-15 ofe? Attach code and full output from both programs. Hint: See comments on your homework submissions before you begin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
