The function is and the equations are , .
, where is the right endpoint of the partition.
.
is the width of the interval.
Substitute in .
Apply summation formula .
As , then .