Discritization Basics - Generating bar graph displaying errors.
Objective: I am going to write a program in MATLAB which will plot a bar graph showing the global truncation error for the 1st, 2nd and 4th order approximation of the first derivative at a step size of 0.1. Analytical function and its derivative:Analytical function: `f(x) = sin(x)/x^3`, Analytical derivative: `f'(x) = (x^3cos(x)…