Numerical Integration

Explore the Trapezoidal Rule and area accumulation through interactive visualization.

Numerical Integration

Approximating area under f(x) using trapezoids.

Parameters

4

Calculation

Interval [a, b][1.0, 7.0]
Width (Δx)1.50000000
Approx. Area11.82803717
Exact Area11.78640005

Accuracy

Absolute Error0.04163712

Increasing n reduces the gap between the approximation and the exact integral.

Guide

  • Drag or to change the integration range.
  • Slide toward the right to see it approach infinity ().

Function & Trapezoidal Area

f(x) = sin(x) + 2
ab

Area Accumulation Function

A(x) = ∫ f(t) dt
Exact Area
Approx Area
05101520