Maple 9.5
Contents
Introduction
Maple is a mathematical application package that supports symbolic and numeric computation and graphics. Maple is available on all Public IT workstations. It is also available at UB Micro fo a discounted student price.
Installing Maple 9.5
- Maple 9.5 will automatically prepare to install when you insert the CD into the computer.
- An introduction to the installation process will appear. Click
Next to begin installation.
- Enter the serial number into the Serial Number field. Click
Next.
- Choose a location in which you would like to install Maple 9.5.
The default location is recommended. Click
Next.
- Choose either the Single-user or Multi-user Profile. Click
Next.
- Review the installation location and system requirements. Click
Next.
- Maple 9.5 will install onto your computer.
- Choose either to have Maple 9.5 restart your computer or restart it yourself. Click
Done.
Maple 9.5 Command Line
Maple's command line prompt is a greater-than symbol (>). Maple commands must end with either a semicolon (;) or a colon (:). A semicolon tells Maple to calculate the input and display the result. Use of a colon will suppress the result display.You can also include comments to document your work by typing # followed by your comments.
Help in Maple 9.5
Maple provides an internal help system for centralized searching. The ? command allows you to access help in Maple. For example, typing ?plot opens the help browser with detailed information on the plot command. There are adequate examples in most Maple help sessions. Online help is also available via the Help menu. To get a quick introduction to Maple, select Introduction from the Help menu.
Maple Worksheet Interface
The worksheet interface is an integrated environment in which you can solve problems and document your work. You can include Maple commands, results, spreadsheets, graphics, hyperlinks, and text in one worksheet. You may then print this worksheet, use it in another Maple session, or transfer it to a Maple session on a different platform.
The worksheet interface is similar to many Windows applications, such as word processors. You can perform standard operations - opening, saving, and printing files, for example - in the same way that you would using a word processor.
At the top of the worksheet is the Menu Bar. It contains menus such as File and Edit. Below the Menu Bar is the Tool Bar. Place the mouse over each button on this bar to display each button's function. Immediately below the Tool Bar is the Context Bar, which contains controls specific to the task you are currently performing.
Input Display Notation
There are two Input Display notations.
Maple Notation displays input in Maple syntax.
Standard Math Notation displays input in
typeset form similar to what you would see in a textbook. By default, any
new worksheet will open with a prompt in Maple
Notation.

Palettes
There are four palettes available in the worksheet interface: Symbol, Expression, Vector, and Matrix. These palettes contain buttons for easy entry of mathematical symbols and expressions such as Greek letters, integrals, derivatives, and matrices.
The following is the Expression palette:

To use a palette, click on the button of the palette you wish to use.
To place an operation onto the worksheet, click the desired location on
the worksheet, and then select the operation you want from the palette.
You can fill in placeholders with numbers, symbols, or expressions. To learn more about palettes, refer to the online help.
Packages
Maple has a collection of packages, each of which contains a set of related functions. Use the help menu to obtain information on the available packages.
To use a package, type the following from your Maple prompt:
with(package-name);
| Example | Description |
|---|---|
| with (Maplets[Elements]); | Invokes the Maplets package. Using Maplets, you can create windows, dialogs, and other visual interfaces. |
Saving a Maple Worksheet
The Save and Save As options in the File menu allow you to save your worksheet in .mw or .mws format.
The Export As option in the File menu allows you to save your worksheet in the following formats:
| File Extension | Description |
|---|---|
| .mws | Maple worksheet format |
| .tex | LATEX document |
| .txt | Plain ASCII text |
| .html, .htm | Hypertext |
| .rtf | Rich Text Format |
| .mpl | Maple Input |
| .maplet | Maplet |
To reload an existing worksheet, click on Open in the File menu. When reloading a worksheet, you can recover the previous state (previously defined variables and functions) by choosing Execute, then Worksheet in the Edit menu.
Printing
To print a worksheet or help page, select File, then Print.
Sample Commands
Maple’s command language is expressive and easy to use. You can learn it interactively by entering commands from the Maple prompt. The following examples illustrate some key Maple features:
| Example | Description |
|---|---|
| f:= x^2+2*y^3; | Assigns x2+2y3 to f. |
| w:=subs(x=z+1,f); | Substitutes x with z+1. |
| g:= x-> (x+3)^3; | Defines g as a function of x. |
| g(3); | Evaluates g when x=3. |
| diff(sin(x),x); | Finds the derivative of sin(x). |
| int(cos(x),x); | Finds the integration of cos(x). |
| with(linalg); | Loads the linalg package. |
| A:=matrix(2,2,[2*y,x,y,x*y]); | Defines a 2x2 matrix A. |
| B:=inverse(A); | Calculates the inverse of matrix A. |
| solve(cos(x)+y=9,x); | Solves an equation. |
| fsolve(tan(sin(x))=1,x); | Solves an equation numerically. |
| dsolve(diff(v(t),t)+2*t=0,v(t)); | Solves a differential equation. |
| plot(sin(1/x)*exp(x),x=0.15..1.5); | 2D plot. |
| plot3d(sin(x*y),x=-1..1, y=-1..1); | 3D plot. |
| with(CodeGeneration); | Loads the package CodeGeneration. |
| Fortran(A,resultname="W"); | Outputs matrix A to W in FORTRAN language. |
| C(A,optimize); | Outputs matrix A in C language. |
Additional Information
There are many books regarding Maple available at Maplesoft's publication
site:
http://www.maplesoft.com/publications/books

