Animation, rendered in HTML5 canvas. The sum of the areas of the rectangles approaches the area "under" the curve of sin(x)
(above the curve on the interval [5, 10]
) ), as the number of rectangles increases n -> ∞
and the "step" dx
decreases dx -> 0
.
