A particle moves along a number line with velocity at time t given by the formula
Use a five-term midpoint Riemann sum to estimate the displacement of the particle from
General setup for a midpoint Riemann sum:
Estimate the same displacement using the Trapezoid Rule with five trapezoids.
General setup for Trapezoidal sum on [a, b]: