# Maple

## What is Maple?

Maple (Mathematical manipulation language) is a Computer Algebra System (CAS) und was first developed in the late 1980s. Its main use is the visualization of mathematical structures and the computation of multiparameter problems. It can therefor be used in many areas of mathematics like Algebra, (Numerical) Analysis or discrete mathematics.

## First Steps

1. Establish a VPN connection to the university network
A detailed instruction can be found here: https://www.anleitungen.rrze.fau.de/internet-zugang/vpn/.

Therefore a SSH client is needed, which one might need to install. For Windows sone can use for example PuTTY (https://putty.org/)
To open a SSH connection with PuTTY one needs to enter the following Host-IP and credentials.
User name: IDM identification (e.g. ab01cdef)
Detailed instructions on how to use the SSH connection can be found here. Now you are connected to the CIP server and in a command line window in your home directory.

3. The interactive mode
For starting the interactive mode, start Maple by entering

` >>maple`

4. Execute scripts with Maple

For executing scripts these need to be created as textfiles first (e.g. gedit, nano) and can than be executed by:

``` >> maple FILENAME.mpl
```

(Entering into the command line, not maple)

5. Quit maple

`Press Ctrl+D for quitting maple or type quit`

One can find a Quick Start Tutorial for Maple on the developers webpage: https://www.maplesoft.com/support/training/quickstart.aspx

6. Maple Syntax

Maple is per se quite similar to other mathematical software, but not quite identical. Here are some short examples for maplecode:

`solve(3*x^2+b*x=7, x);`

For the derivative of a function:

```f:= x -> tan(x)*sqrt(x):
D(f)(x);```

Animating a function with three variables :

`plots:-animate3d(cos(t*x)*sin(3*t*y), x=-Pi..Pi, y=-Pi..Pi, t=1..2);`