Numerical derivative vs exact derivative
Objective: %Numerical derivative vs exact derivative clear all close all clc %function=sin(x)/x^3; x=pi/3; %analytical derivative=(x^3*cos(x)-sin(x)*3*x^2)/x^6; analytical_derivative=(x^3*cos(x)-sin(x)*3*x^2)/x^6; %numerical derivative dx=pi/25; %spacing between the grid points %1.first order approximation %forward differencing scheme…