I am stuck on the following problem:
Let $\,\,g \, \colon [0,2] \to \Bbb R \,$ be a twice continuously differentiable function. If $\displaystyle \int_{0}^{2}g(x)dx \approx 2 g(1),$ then the error in the approximation is :
$\frac{g'(\xi)}{12}$ for some $\,\,\xi \in (0,2)$
$\frac{g'(\xi)}{2}$ for some $\,\,\xi \in (0,2)$
$\frac{g''(\xi)}{3}$ for some $\,\,\xi \in (0,2)$
$\frac{g''(\xi)}{6}$ for some $\,\,\xi \in (0,2)$
Can someone help me out ?