Simpson's Rule
Simpson's rule fits parabolas through consecutive triples of points, with an even number of subintervals of width . It is much more accurate than the trapezoidal rule and is exact for polynomials up to degree three. It is widely used for numerical integration of smooth functions.
LaTeX
\int_a^b f(x)\,dx\approx\frac{h}{3}\left[f(x_0)+4f(x_1)+2f(x_2)+\cdots+4f(x_{n-1})+f(x_n)\right]Variables
- limits of integration
- even number of subintervals
- step width
Example
Approximate with .
- ; values .
- .
Answer: , the exact value .