NINTDUBL.82p
A program to see how doubling the number of subintervals effects
the result of taking a Reimann summ with the various sum rules.



The program NINTDUBL lets the student see the effect of
repeatedly doubling the number of subintervals on various ways
of taking Riemann sums.

The user is prompted for a function,
the limits of integration, the initial number of subintervals,
the number of times the number of subintervals is to be doubled,
and the Reimann sum rule to be used.  The program then gives the
value obtained by the calculator's numeric integration function,
(which uses  the Gauss-Kronrod method) and the values given by the
Reimann sum  with the given number of subintervals.
The user has the option of repeating the process, changing
the sum rule, the initial number of subintervals and the number of doublings,
or the limits of integration.

Loops are inserted for the user to change thesummation rule, 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, G, H, I, J, K, L, M, N, Q, R, S, T, U, V, 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
