The function is
.
The number of subintervals are
.
Observe the graph: The area is bounded between
and
.
Width
.
The right end point is
.
The sum of areas of the circumscribed rectangles is called upper sum.
\Upper sum is
.



Apply summation formula
.

The upper sum is
square units.
The left end point is
.
The sum of areas of the inscribed rectangles is called lower sum.
\Lower sum is
.






The lower sum is
square units.
square units.
square units.