Question

Consider the function f(x)=2/x. The goal is to compute the first derivative of the function at = 2 numerically using the following approximations with different grid resolutions (Step sizes) and comparing the values to the exact solution.

Fig: 1