comparing the first, second and fourth order approximations of the first derivative against the analytical or exact derivative.
Objective: Aim: To write a code that compares the first, second and fourth order approximations of the first derivative against the analytical or exact derivative. Method used: Discritization using Taylors series which converts PDE to Algebraic form Description: The function that I'm computing is f(x) = sin(x)/x^3 by taking…