- Use a Taylor series expansion to compute an error estimate in approximating the derivative of the function $f:\mathbb R\to\mathbb R$ using the formula $$ f'(x_0) \approx \frac{f(x_0-2h)-4f(x_0-h)+3f(x_0)}{2h} $$
So $\left|f '(x_0)-G_h(x_0)\right| ≤ ch^p$ where $G_h(x_0)= \frac{f(x_0-2h)-4f(x_0-h)+3f(x_0)}{2h}$
\begin{align} f(x_0-h) &= f(x_0)-hf '(x_0)+\frac{h^2}{2}f ''(x_0)-\frac{h^3}{3!}f '''(\varepsilon) \\ -4f(x_0-h) &= -4f(x_0)+4hf '(x_0)-2h^2f ''(x_0)-\frac{h^3}{3!}f '''(\varepsilon)+\frac{4h^3}{3!}f '''(\varepsilon) \\ f(x_0-2h) &= f(x_0)-2hf '(x_0)+\frac{4h^2}{2}f ''(x_0)-\frac{8h^3}{3!}f '''(\varepsilon_1) \\ 2hG_h(x_0) &= 2hf '(x_0)+\frac{2h^3}{3}f'''(\varepsilon)-\frac{2h^3}{3}f'''(\varepsilon_1) \\ \left|G_h(x_0)-f '(x_0)\right| &= h^2\left|\frac{1}{3}f'''(\varepsilon)-\frac{2}{3}f'''(\varepsilon_1)\right| \end{align}
so $p=2$ and $c=\max \left|f'''(\varepsilon_1) \right|$
In the second last line, was the $2hG_h(x_0)$ step done to make the algebra simpler?