**Welcome to the Rutgers Maple Help Pages!**

For Maple 10, your screen should look like

Feel free to close the “helpful hint” in the middle of the screen.

Now, let’s open a new Maple worksheet. Go to the top of the screen and choose File > New > Worksheet Mode.

Your Screen should now look like this:

Several of the buttons at the top of the screen should look familiar for new file, open, save, print, cut, copy, paste, etc. These work as you expect them to.

You should notice a red command prompt near the top of the screen. See the next section for your first Maple commands.

[Back to the Top | How to open a Maple file | Maple syntax | How to save a Maple worksheet | Opening Maple packages | Opening a saved Maple worksheet | How to exit Maple]

Maple 10 is different from older versions of Maple. In previous versions, every Maple command needed to end with a semicolon (;) or a colon (: ). In Maple 10 this is no longer necessary, but if you use computers with older versions of Maple, it is necessary.

Let’s start with addition. Tell Maple to compute 2+2

and now press ENTER. What happened? Notice that the answer “4” is in blue at the center of the screen and Maple gave you a new command prompt.

Now let’s try 2+2; and press ENTER. Did Maple do what you expected it to do?

Finally, let’s try 2+2: and press ENTER. What is different this time?

Your screen should look like

Notice that when you end a Maple command with a colon, Maple still does the computation you asked it to do, but it does not show the answer. This may not seem useful now, but in the future, when you do more complicated computations, you may not be interested in seeing a very long answer, and just want Maple to save it.

> ifactor(203490);

ifactor is the Maple command for “factor an integer”. Like most Maple commands, Maple expects the command followed by an open parenthesis, then the input, and then a closed parenthesis.

Throughout this tutorial, you will see many more examples of Maple functions with the format functionname(input1, input2,…);

For example, let’s pretend we did not already know how to factor integers.

> ?factor

Wait a minute, and a new window should appear to tell you about the factor functions in Maple. You can type ?(any math word) and if Maple knows how to do it, a new window will appear.

> help(factor);

Notice that the exact same thing happened as before. You can decide which way of accessing Maple help is most comfortable for you.

Try to factor the number above with

> ifctor(230490);

Your output should look like

Notice that Maple just repeated what you told it to do. That is because maple does not recognize the word “ifctor”.

Now, move the blinking cursor back to the line where you typed ifctor(230490); (you can use the mouse or the arrow keys on your keyboard), and fix the spelling. Maple fixed the error and factored the number, just as we wanted it to!

If Maple does not do what you expected it to, make sure to first check your spelling carefully (capital/lower case letters count!)!

[Back to the Top | How to open a Maple file | Maple syntax | How to save a Maple worksheet | Opening Maple packages | Opening a saved Maple worksheet | How to exit Maple]

[Back to the Top | How to open a Maple file | Maple syntax | How to save a Maple worksheet | Opening Maple packages | Opening a saved Maple worksheet | How to exit Maple]

>with(package_name);

When you hit enter, Maple will give a list of all the new functions you can use in the package called package_name. Try

>with(plots);

and see what happens.

[Back to the Top | How to open a Maple file | Maple syntax | How to save a Maple worksheet | Opening Maple packages | Opening a saved Maple worksheet | How to exit Maple]

This will help prevent errors when you do more complicated Maple exercises with variables and graphs.

[Back to the Top | How to open a Maple file | Maple syntax | How to save a Maple worksheet | Opening Maple packages | Opening a saved Maple worksheet | How to exit Maple]

[Back to the Top | How to open a Maple file | Maple syntax | How to save a Maple worksheet | Opening Maple packages | Opening a saved Maple worksheet | How to exit Maple]

**
Maintained by Last modified 9/5/2006. Address questions to the
Undergraduate Office of the Department of Mathematics.
**