Split up the interval [0, 3] into 6 subintervals,
[0, 1/2], [1/2, 1], [1, 3/2], [3/2, 2], [2, 5/2], [5/2, 3]
The right endpoints are given by the arithmetic sequence,
with .
We approximate the integral of on the interval [0, 3] by the Riemann sum,
Recall the formulas,
Then the value of the integral is approximately
Compare to the exact value of the integral, -9.