Further details on syntax are given below. The entry M is assumed to be a positive integer. The function is graphed in black. The default value is 6. The type, the integer N, and the numerical value of the associated riemann sum are printed in the text area.
Analogous actions occur when left, mid-point, and random buttons are pressed.
When the trapezoid button is pressed, the trapezoid rule is applied. It may be difficult to see the straight lines connecting the successive function lines. However, the numerical values of the trapezoidal sums and the simpson sums illustrate the relative accuracy of the simpson algorithm. Incidentally, in Simpson's method, the integer N must be an even integer. If N is odd when you click on the simpson button, the program will let you know.