For the Trapezoidal Rule, the error formula is:
$$
E_T \leq \frac{(b-a)^3}{12n^2}M_2
$$
For Simpson's Rule, the error formula is:
$$
E_S \leq \frac{(b-a)^5}{180n^4}M_4
$$
where $a$ and $b$ are the limits of integration, $n$ is the number of subintervals, and
Show more…