MAPLE(1)

NAME

maple - Interactive computer algebra system

SYNOPSIS

maple [ -b libname ] [ -e errorbreak ] [ -g gcinterval ] [ -u interface ] [ -f ] [ -q ] [ -s ] [ -t ] [ -w warninglevel] [ -x ]

DESCRIPTION

Initiate a session with the Maple Computer Algebra System. Expressions are read from standard input (unless -u or -x are specified) and the results are produced on the standard output as each input expression is read. Maple has the ability to algebraically manipulate unbounded integers, exact rational numbers, real numbers with arbitrary precision, symbolic formulae, polynomials, sets, lists, and equations. It can solve systems of equations and differentiate and integrate expressions.

In the following example from a Maple session, Maple's output is shown to the right of the input expressions.


p := x^2-x-2;
2
p := x - x - 2

q := (x+1)^2;
2
q := (x + 1)

s := p/q;
2
x - x - 2
s := ------------
2
(x + 1)

diff(s,x); # Differentiate with respect to x.

2
2 x - 1 x - x - 2
---------- - 2 ------------
2 3
(x + 1) (x + 1)

normal(s);
x - 2
-------
x + 1

x := 3^50;
x := 717897987691852588770249

s; # Re-evaluate s with a value substituted for x.
717897987691852588770247
--------------------------
717897987691852588770250

# Set the precision to use for floating point results.
Digits := 40;
Digits := 40

evalf(s); # Re-evaluate s in floating point format.
.9999999999999999999999958211332927043849

quit

The command maple actually invokes a script which parses various command line options, sets appropriate environment variables, and then starts the Maple kernel (and possibly a separate user interface). The command xmaple invokes maple with the -x option (see below).

OPTIONS

WINDOW SYSTEMS

If you are running Maple V under a windowing system, there may be a user interface specific to that system. For example, X Window System users (this includes Motif and OpenLook users) can run Maple by using the xmaple command.

In addition to the Maple options described above, window system specific options can also be used. For example, the option -bg red tells the X version of Maple to use red as the background color.

SEE ALSO

First Leaves: A Tutorial Introduction to Maple V by B.W. Char, K.O. Geddes, G.H. Gonnet, B.L. Leong, M.B. Monagan, S.M.Watt, Springer-Verlag and Waterloo Maple Publishing (1992). Maple V Library Reference Manual by B.W. Char, K.O. Geddes, G.H. Gonnet, B.L. Leong, M.B. Monagan, S.M.Watt, Springer-Verlag and Waterloo Maple Publishing (1991). Maple V Language Reference Manual by B.W. Char, K.O. Geddes, G.H. Gonnet, B.L. Leong, M.B. Monagan, S.M.Watt, Springer-Verlag and Waterloo Maple Publishing (1991). Maple V Release 2 Notes by Waterloo Maple Software (1992). The march, mint, m2src, and updtsrc commands.

ENVIRONMENT

Maple uses several system environment variables. These are generally set by the maple script, so the user need not worry about them.

The MAPLE variable is used to tell Maple where to find its library, the Maple share library, the help browser index, and various configuration files.

The HOME variable is used to determine where to look for the user's .mapleinit file.

The PAGER variable is used to determine which program to use to display help files (when running with the terminal interface). If this variable is not defined, the more program is used.

The PATH variable is used to find auxiliary programs, such as the plot driver.

The XAPPLRESDIR variable is used to indicate where the Maple X Window resource files are.

FILES

$MAPLE/lib/src/init - system wide initialization file (where the setting of the environment variable MAPLE is subject to change at each installation). $MAPLE/lib - Maple library (where the setting of the environment variable MAPLE is subject to change at each installation). $HOME/.mapleinit - user's own Maple initialization file. $XAPPLRESDIR/MapleV - the resource file used by the X Window System Maple interface. $XAPPLRESDIR/Maple2dX11m - the resource file used by the X Window System two-dimensional plotting interface. $XAPPLRESDIR/Maple3dX11m - the resource file used by the X Window System three-dimensional plotting interface.

AUTHORS

Symbolic Computation Group, University of Waterloo, Waterloo, Ontario, Canada G.H. Gonnet and M.B. Monagan, ETH, Zurich, Switzerland Waterloo Maple Software, Waterloo, Ontario, Canada

FOR HELP

If you have a question that you think is of a very specific nature and not of interest to others, you may send a mail message to your site license technical administrator (if your site has a site license). The technical administrator for your site is:
ADMINISTRATOR'S ADDRESS GOES HERE

If your site does not have a site license, send your technical queries to:
support@maplesoft.on.ca.

For queries or results that you wish to share with others, there is a Maple user's group which interacts by electronic mail. This group can be reached by mailing to:
maple_group@daisy.waterloo.edu
or
maple_group@daisy.uwaterloo.ca

You should subscribe to this group (by sending a message requesting to be made a member) if you intend to use Maple in more than just a casual manner. Users are encouraged to post their questions regarding Maple to this group if they feel that their enquiries are of a general nature. Replies will be posted to the group for all to see and benefit from.