MÉTHODOS · the way · numerical methods: how a machine computes real answers to continuous problems, one controlled approximation at a time · kept by HERON (Hero of Alexandria, the ancient numerical algorithmist)

THE SIMPSON'S RULE ◧ 2D · ◍ 3D · ◆ 4D · ◐ shadow · 👶 TAP

To find the area under a curve, slice it into strips — but instead of topping each strip with a flat line (crude) or a slanted one (trapezoid), Simpson’s rule fits a little PARABOLA over each pair of strips. Curves hug parabolas well, so the error plummets: a handful of strips already nails the integral. It’s how numerical integration is done. Slide to add strips and watch the estimate lock onto the true area.

◆ LIT▲ AMBER
◧ THE MEASURE · 2D
◍ FIT LITTLE PARABOLAS · 3D · area under any curve, fast
◆ THE FOURTH · 4D · a tesseract turns
◐ THE SHADOW · one dimension down
👶 THE TODDLER CORNER — one fat tap
strips
estimate
true area
9.000
error

◆ LIT — exact / checkable

Simpson’s rule approximates ∫ᵏᵇf by fitting a PARABOLA through each consecutive triple of points: ∫ ≈ (h/3)[f₀+4f₁+2f₂+4f₃+…+fₙ]. Because a quadratic fit cancels more error than flat (midpoint) or linear (trapezoid) pieces, its error is O(h⁴) — and it integrates any cubic EXACTLY. So ∫₀³x² = 9 is recovered to machine precision with few strips. It (and adaptive/Gauss quadrature) is the standard for definite integrals with no closed form. A fail-loud self-check throws unless ∫₀³x² evaluates to 9 within 1e−6. ◆ real numerical methods, node-verified.

▲ AMBER — the figure

Simpson needs an even number of intervals and a smooth integrand; on sharp/oscillatory or singular functions it errs (adaptive or Gauss quadrature help). The O(h⁴) accuracy and exact-on-cubics property are exact.

MÉTHODOS: the continuous is never solved, only APPROACHED — the art is bounding the error.  — HERON
David Lee Wise / ROOT0, with AVAN · MÉTHODOS — kept by HERON, the reckoner