Question: 1. Consider the function () (2-3c+2) arctan a. Estimate the derivative of the function at the point x = 0 using each of the three

1. Consider the function () (2-3c+2) arctan a. Estimate the derivative of the function at the point x = 0 using each of the three formulas listed below for all of the following values of h: h 10 , (forward difference) (3 pt centered difference) (5 pt centered difference) n = 1,3,6. Make a log log plot of your error verses h (use the same plot for both methods). 2h 12h For n -1,3, 6 call FD1, FD3, FD6 the result obtain with the the result obtain with the 3 point centered difference, and cD51, CD53, CD56 the result obtain with the 5 point centered difference. Plot your error for all three methods on the same graph. Explain your findings. Is the error decreasing with h? Why or why not? Which method has the largest error? Which method has the smallest error? Why? Write those answers in comment using forward difference, cD31, CD33, CD36
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
