solve using MATLAB.
Title: Numerical differentiations.
Use Richardson extrapolation to estimate the firstderivative of y =cos x at x = ?/4using step sizesof h1 = ?/3and h2 = ?/6. Employcentered differences of O(h2) for theinitial estimates.
solve using MATLAB.