An updated version of this demonstration, without Java, is available here.
This applet uses numerical integration rules to approximate the integral
Select a method and the desired number of intervals, then click on Draw. The Double button will double the current number of subintervals and display the ratio of successive errors.