I calculated an approximate integral $\left (\int_0^{3.2} f(x)dx \right )$ using midpoints and given data from a table, and got $23.44$. The second derivative of $x$ is said to be between $-4$ and $1$ inclusively. What is the error estimate?
I tried to integrate the inequality twice and got that the integral of $f(x)$ is between $\frac{-2x^3}{3}$ and $\frac{x^3}{3}$ inclusively. I then evaluated the integrals from $0$ to $3.2$ and got that the integral of $f(x)$ should be between $-21.84533$ and $5.4613$ inclusively. I don't know if this is correct but this is what I have tried. I am stuck from here. Thank you.