Riemann Sum

A Riemann sum depends upon the evaluation points within the subintervals. In the animation, the evaluation point moves from left to right. The Riemann sum is the net total of the areas of the rectangles. Areas of regions above the x-axis are added and regions below the x-axis are subtracted.

riemann_sum