Applications of integral calculus · demo

Simpson's rule

Parabolic arcs through pairs of panels approximate the area under the curve. Change the integral and n — more panels, less error.

y = f(x) Simpson parabolas

View stays put while scrubbing a, b, c · scroll zoom · drag pan · Shift+drag an axis to dilate

Panels

4

n must be even — each pair of panels forms one parabola.

Integrand

0
1
1

Limits a,b and shape parameter c reshape the integrand.

Estimate vs reference

Simpson's, n
Reference value

Formula