The function is
on interval is
.
Number of rectangles are
.
The sum of all inscribed rectangle is lower sum.
\
, where 
The sum of all circumscribed rectangle is upper sum.
\
, where 
Where
.
Find lower sum.
\
.
Area of lower sum is
.

Sum of natural numbers is
.

Find upper sum.
\
.
Area of higher sum is
.


.


Verification:
\
