computation of First,Second and Fourth order derivatives against exact derivatives and the effect of order of approximations on the error
Objective: Objective : To write a program that compares the first, second and fourth order approximations of the first derivative against the analytical or exact derivative and calculates the error as absolute difference of the approximations against exact / analytical derivative . The function `f(x)=…