Question: Use c++ to do this problem. Please help me. B. Taylor Series Consider the problem of approximating In(1.9) with ten digits of accuracy, using either
B. Taylor Series Consider the problem of approximating In(1.9) with ten digits of accuracy, using either of the following Taylor series: (a) In(l-x)- 2k-I (Note that In(1.9) is approximately 0.641853886172) . Write a code called Taylor.m to determine how many terms you need in series (a). (2 pts) Your code should print out: The number of terms needed. The value obtained from the series, - The error. 4. Modify your code to do the same using series (b). (2 pts) 5. Which series is more efficient for computing In(1.9) Briefly explain why. (1 pt)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
