Trapezoidal Rule Approximator
Approximate the area under a curve using trapezoids
Exact:
0.333
Approx:
0.375
n =
2
Number of strips (n)
A ≈ (h/2)[y₀ + 2(y₁+y₂+...+yₙ₋₁) + yₙ]. More strips → better approximation.