The function is
Upper sum = (Area of circumscribed rectangles)
Where = Maximum value of f(x) in subintervals.
Right Endpoints:
(Substitute )
Therefore .