My professor gave the following question as a practice for study guide. Any assistance in terms of helping me to solve this would be much appreciated.
Suppose that $f$ is continuous and has continuous first and second derivative on the interval $[x_0,x_1]$. Derive the following bound on the error due to linear interpolation of $f$ $$|f(x)-P_1(x)|<=1/8 h^2 max_{x \in[x_0,x_1]}|f''(x)|$$ where $h=x_1-x_0$.