Question: Forward, Backward, and Central Differences 4 pts Problem 1. Compute the numerical derivatives for each of the function below at x=/2 : f(x)sin1x a) Compare

Forward, Backward, and Central Differences 4 pts Problem 1. Compute the numerical derivatives for each of the function below at x=/2 : f(x)sin1x a) Compare the numerical derivative of the function at different incremental step-size (h) of 0.1(0.1h1010 ) ( using a first order forward, backward, and central difference method). Determine the "Critical h-limit" for minimum truncation and round-off error for each method (state the step-size). Display the numerical errors of each method versus the step-size in a table in MATLAB and label each error by the numerical method i.e., errFwd, errBkd, errctr. b) Create a loglog plot showing three curves for the numerical errors. Include axis labels, grids, and a legend. c) Discuss and evaluate how the method varies with step-size, identify minimum numerical error at a step-size and validate your discussion with your results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
