Question: 1. (a) In hw04q1.m apply Backward Difference and Centered Difference to approximate the first derivative of the function y(x) = (1 -2) at the point

1. (a) In hw04q1.m apply Backward Difference and Centered Difference to approximate the first derivative of the function y(x) = (1 -2) at the point To = 2 with values h = 1, -, ...,2 8. Write down on paper the error term for each formula. (b) Compute the exact expression dy(To) / dr by hand. Evaluate numerically the approxi- mation errors for each formula. Add to hw04q1.m (c) Evaluate and report the rate of convergence with respect to parameter h for each for- mula. Add to hw04q1.m. Is this behavior expected
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
