Next: HELP FACILITIES Up: A Short Maple Primer Previous: STARTING MAPLE

BASIC FACTS

The prompter is >

Each command is terminated by a semi colon (;) or a colon (:).

;the result is showed. :the result is not showed.

Maple is case sensitive. Comments start with # and run to the end of the line.

> k!; denotes k factorial. Exponentiation is written ^ or ** . The logarithm function is called ln. is exp(Pi*I). is called infinity. For numerical evaluation apply evalf.

The repetition operator, $, is very useful. The dot-operator (.) denotes concatenation. The composition operator is written @.

``The latest expression'' is called by ". The latest expression but one is "" etc. For a history encompassing more than the three latest expressions returned, use the command history. Here are some examples


> ln(3^2);
                                 ln(9)

> evalf(");
                              2.197224577

> [0$4];
                             [0, 0, 0, 0]

> {$1..5};
                            {1, 2, 3, 4, 5}

> diff(x(t),t$6): #Sixth derivative of x(t) w.r.t. t
> x.(1..4);
                             x1, x2, x3, x4

> (sin@arcsin)(x);
                                   x

The function convert(expr,type) converts between different data types.

If you run Maple under UNIX, clear the screen by typing > !clear; (Thus ! means ``escape to host''.)

For translation of an expression into , type > latex(expr,foo);

The second argument, which is optional, is a file name.

There are similar functions for C and FORTRAN.


bondaren@thsun1.jinr.ru