I am asked to:
Given stepsizes $h_1$ and $h_2$, develop a numerical scheme to approximate $f^{\prime\prime}(x_0)$ with function values $f(x_0)$, $f(x_0 + h_1)$ and $f(x_0 + h_2)$. Under what conditions will your method not work?
This is a practice problem, and I am not sure how to approach it. I am thinking about using the second derivative midpoint formula and plug in $f(x_0)$, $f(x_0 + h_1)$ and $f(x_0 + h_2)$, but I am not sure if it is the right approach. Any hints and suggestions would be helpful!
Thanks!