This applet illustrates the concept of Riemann sum, and shows how it converges to the Riemann integral when the number of partitions grows.
The Riemann sum, or numerical integral is shown in green, and the exact integral is shown in red.
Please notice that GeoGebra is not very powerful at integrating, so, for some functions, the exact integral will crash.