Right Point Approximation

Implementation

In the right point approximation, the x-axis is divided into a set of intervals. A rectangle is constructed above each interval where the height the rectangle is given by the value of the function at the right point of the interval.