( Abstract for MacMathPascal )


                             MacMathPascal
      (The stack which generates engineering Pascal programs)
                          Coherent Cognition
                              Box 24144
                         San Diego, CA 92124
                           (619-278-4141)

This is a stack containing listings of Pascal source code for programs of
interest to engineering, science, and mathematics students.  Included are
programs for numerical integration, numerical differentiation, curve fitting,
interpolation, and equations solving.  Also included are programs to perform
Fourier transforms, and to evaluate special functions.

The program is printed to the disk as a text file and the user can then use
it "as is" or modify it to suit individual needs.

____________________________________________________



This stack is the latest evolution in the MacMathPascal package.  Within this
stack is  a collection of source listings for Pascal programs.  These progarms
contain procedures and functions to solve many of the types of problems which
the engineer, scientist, or student faces daily.  There are  procedures to
perform
    o   numeric calculus
    o   curve fitting
    o   interpolation, plotting (the plots on the introduction cards were done
        with some of the routines)
    o   Fourier transforms
    o   special functions, and
    o   solutions to equations.

As an added bonus, there is a card in this stack which performs a Discrete
Fourier Transform (DFT).  To get to this card hit the Mac Icon on the screen.

The programs are  examples.  You can cut and paste the procedures form the
source listings to include in custom porgrams.   This can save you several
hours writting your own routines to perform daily tasks. By a click of a
button you can write the source for these progams to disk.  They are ready to
compile and run with LightSpeed Pascal.  The documentaion for the programs is
included in this stack.  This documention will explain what the routine does
and how to use it.  There are also many references for the theory of operation
of the routines given in the documentation.

As always, there is a catch.  A return is expected for the hours  spent
putting these routines together.  This stack is SHARE WARE!  The return
expect is a check for $25.

As an incentive to have you send me money, a few things have been done.
First, the documentaion can not be printed.  If you want a copy, send in the
money and you will be sent a printed and bound copy of the documentation and a
disk with the latest version of this stack.

Second, if you are a registered owner of this stack and you give the stack to
someone and they become registered you will be sent $5.

To date, no one have ever been sued for using the routines in this stack
without paying for them but the author once did grade a schoolarship paper of
a person who did use the routines without paying.

You can print an order form using the button below.

____________________________________________________

DISCLAIMER

This stack has been "PASSWORD PROTECTED" but that is not a guarentee. Neither
Coherent Cognition nor Apple nor its software suppliers make any warranty or
representation, either express or implied , with respect to the software in
this stack, its quality, performance, mercantability or fitness for any
particular purpose.  This software is sold "as is"; the purchaser assumes the
entire risk as to it's quality and performance.

In on event will Coherent Cognition or Apple or its software suppliers be
liabel for direct, indirect, special, incidental, or consequential damages
resulting from any defect in the software in this stack, even if they have
been advised of the possibility of such damages.  In particular, they shall
have no liability for any programs or data stored in or used whith this stack.

The warranty and remidies set forth above are exclusive and in lieu of all
others, oral or written, express or implied.  No Coherent Cognition agent,
dealer, author, or employee is authorized to make any modification, extension,
or adddition to this warranty.

Some states do not allow the exclusion or limitaion of implied warranties or
liability for incidential or consequential damages, so the above limitation or
exclusion man not apply.  This warranty gives you specific legal rights, and
you may also have other rights that vary from state to state.

____________________________________________________


GENERAL NOTES APPLICABLE FOR ALL ROUTINES

LightSpeed Pascal has double and extended precision variables.  A Pascal
procedure which uses a large number or floating point numbers will run quicker
if all of the variables are extended precision.  For examble, with 3600 points
the FFT routine in this package will run 20% faster using extended percision.
The reason for this is simple.  All math is done in extended precision
independent of the type of variables being used in the calculation.  If Real
or Double floating point numbers are used, the CPU must convert the numbers to
extended precision, perform the math, and then convert back to the Real or
Double precision numbers.  The disadvantage of extended precision numbers is a
use of memory.  They each occupy 10 bytes.   If your application can spare the
space, it is a good idea to use the extended precision numbers.

LightSpeed Pascal supports both a 2 and 4 byte integer.  Most of the time
these can be used interchangeably.

To make the conversion from various precision easy, the routines in this
package use the following type declarations.

TYPE
    FLOAT = EXTENDED or DOUBLE or REAL;
    FIXXED = INTEGER or LONGINT;
    DATA = ARRAY[1..MAXSIZE] of FLOAT;
    SQUARE = ARRAY[1..MAXSIZE,1..MAXSIZE] of FLOAT;

DATA and SQUARE are the single and two dimensional arrays used in the
routines.  FLOAT is of the type EXTENDED, DOUBLE or REAL.    One or more of
these Type declarations must be part of any program which uses the routines of
this package.


A word about size.  The maximum amount of data that can be referenced in one
VAR statement or program segment  in LightSpeed Pascal is 32K bytes.  This
applies to version 1.1 of the compiler and this limit may be lifted in later
versions.