RSUMCOM.82p
A program to compare the various ways of doing Reimann sums.
Accuracy is checked against the numeric integration function.


RSUMSCOM is a program
to compare various ways of doing Riemann Sums.
For a fixed n, The program gives the sum
using the right-hand, left hand, trapezoid,
and midpoint rules, Simpson's rules,
and the calculator's numeric integral.

The user is prompted for a function, the limits of integration,
and the number of subdivisions.  The 6 values are then computed
and presented on a single screen where they can be compared.
This allows comparison of the effectiveness of the various methods.

Loops are inserted for the user to change the number of subintervals,
or the limits of integration, or the function.

When running the program, the user is reminded that on the TI-82,
inputing a function through a program requires that the function
start with a double quote mark.

The program uses the variables
A, B, C, E, F, H, I, J, L, M, N, Q, R, S, T, U, and Z
and thus changes the values of those memory locations.
The function is stored in Y0.

This program was written by
Mike May, S.J. from the department of Mathematics and Computer
Science at Saint Louis University.  Send comments to:
maymk@sluaxa.slu.edu

The most current copy is kept on a web page devoted
to courseware kept at
http://euler.slu.edu
