SIMPSONE: Compute definite integral with Simpson's rule

Title   : SIMPSONE
Version : 1.3
Date    : Feb 15, 2000
Author  : J R Ferguson
Download: http://hello.to/ferguson
E-mail  : j.r.ferguson@iname.com

This program may be used and copied freely without  charge,  but  only  for
non-commercial  purposes.  The  author is not responsible for any damage or
loss of data that may be caused by using it.

Computation of the definite integral of a specified function, with optional
check if the primitive function is known. The step size is decided  by  the
user.

Functions  can  be  specified at runtime in Pascal syntax and must have one
variable x. All standard Pascal functions for real numbers  are  supported.
These are:

sin(x)              sine
cos(x)              cosine
tan(x)              tangent
cot(x)              cotangent
arctan(x)           arctangent
abs(x)              absolute value
exp(x)              exponent
ln(x)               Natural logarithm
sqrt(x)             square root
sqr(x)              square

Examples of valid functions:
  sqr(x)
  1+2*sin(x)
  2.03E-5 + ln(x)
  exp(x)
  exp(-sqr(x-.5))/sqrt(2)


History:
v1.3 Feb 15,2000
- Changed author's Internet address.
v1.2 Jul 29,1998
- Recompled with patched CRT unit to prevent runtime error 200 with fast 
  CPU's.
v1.1 Dec 27,1996