Comparison of 1st, 2nd and 4th order approximations of first derivative against analytical derivative.
Objective: AIM:- To write a MATLAB program that compares the first, second and fourth order approximations of the first derivative against the analytical or exact derivative. THEORY:- FINITE DIFFERENCE METHOD (FDM): - FDM is a method used for solving the differential equations, in which finite differences approximate …