Prerequisites
Approximate Integration
Some integrals — like
Setup
Split
Trapezoidal Rule
Approximate each strip with a trapezoid instead of a rectangle:
Midpoint Rule
Use the function value at the midpoint of each subinterval,
Simpson's Rule
Fit a parabola through each pair of adjacent strips (requires
Error bounds
If
If
Simpson's error shrinks like
Worked example: Trapezoidal Rule
Approximate
The true value is
Worked example: Simpson's Rule
Approximate
The true value is
Practice
- 1.Simpson's Rule error shrinks proportional to:
- 2.The Trapezoidal Rule approximates each strip using:
- 3.Simpson's Rule requires
to be: