Area under a curve as a limit

Topic:
Area, Limits
Investigate the area under the curve as a limit! Change the function (green box) the number of rectangles (slider) and the right hand limit (point A). What happens to the leftsum and rightsum as the number of rectangles increases? Why? How does this compare with the (definite) integral? (Unfortunately this is not displaying at the moment in HTML5 mode!)