Split up the interval [0, 3] into 6 subintervals. Each will have length

So the partition will be
[0, 1/2], [1/2, 1], [1, 3/2], [3/2, 2], [2, 5/2], [5/2, 6]
The right endpoints form an arithmetic sequence given by

where 1 ≤ i ≤ 6.
Then the Riemann sum is



Recall the formulas for sums of powers:


It follows that
