Trapezoidal Rule Calculator
Type a function, an interval and a number of strips to estimate the integral with trapezoids.
Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).
A number such as 0 or 1/2, pi, e, inf or -inf.
A number larger than the lower limit, pi, e, inf or -inf.
A whole number of equal intervals, 1 or more.
Result
You entered
Error against the exact integral
Show the work
Trapezoidal rule
Cut the interval into 4 equal strips and replace the curve on each strip by a straight line, so each strip is a trapezoid; the two end heights count once and every height in between counts twice.
Using
Width of each strip
Divide the length of the interval by the number of strips.
Heights
Evaluate at the 5 points .
Add up
Add the end heights once and the inner heights twice, then multiply by half the width.
Result
The trapezoidal estimate with 4 intervals.