The example below demonstrates the lower and upper Riemann sums for the following function:
{% y = 4 \times (x - \frac{1}{2}) ^2 %}
Riemann Lower Sum
The Riemann lower sum approximates the integral by calculating the area of the rectangles below the curve
for the given mesh size.
Number of Divisions
Riemann Upper Sum
The Riemann upper sum approximates the integral by calculating the area of the rectangles above the curve
for the given mesh size.