Type any function, drag the number of rectangles, and watch the classic left/right/middle/trapezoid sums close in on the true integral. Live shaded plot, error against a high-precision reference, and a convergence table that proves why doubling n quarters the trapezoid error.
βestimate (signed area)
βreference value
βerror
βrelative error
Reference: adaptive-Simpson computed to ~10 digits. βSignedβ means parts below the axis count negative β that's why xΒ³β3x on β2β2 is 0.
How fast the error shrinks
Γ Γ· and implicit products go left-to-right: 1/2x means (1/2)Β·x. Allowed: + β * / ^, parentheses, sin cos tan exp ln log sqrt abs, constants pi and e.