visualizing Riemann sums
You can set the integrand (this only works for functions with nonnegative values).
Drag the points a and b to set the bounds of integration, and select the number of subintervals using the slider .
The "random sample area" is a Riemann sum with uniform width , and heights determined by picking a random value in each subinterval. The other three areas are the standard Riemann sums.
Click each tickbox to display or hide the rectangles corresponding to each sum.