Numerical integration

When no antiderivative can be written down, trapezoids or Simpson's parabolas over $n$ strips approximate the integral, with errors that shrink like $\frac{1}{n^2}$ and $\frac{1}{n^4}$.

From Calculus 2.