Computation of First Second and Fourth Order Approximations of First Derivative against Exact solution and effect of the order of approximations over the numerical error
Objective: clear all close all clc % First order approximations of the first derivate against the exact % solution % f(x) = sin(x)/x^3 x = pi/3 ; dx =pi/15; % Computing Analytical derivative Analytical_derivative = ((cos(x))/x^3)-((3*sin(x))/x^4); % Computing Numerical derivative for first order First_order_numerical_derivative =…