Approximation of an area by Riemann sums

Select the number n of sample points and the rule (left, midpoint, or right) to approximate the area under the graph by Riemann sums.

Written by Nils Bruin