Using Maple 10 in the Physics Computer Cluster
Use "Classic Worksheet Maple 10"
"Classic Worksheet Maple 10" is compatible with the older versions of Maple.
In addition, it has fewer fancy features than the standard "Maple 10",
which means that "Classic" will be easier to use (...and that's a good thing!).
Try some simple Maple commands.
Type in a Maple command line. Hit the [ENTER] key
. Wait a second for Maple's response.
Maple executes commands in the order in which you enter them...
...or in the order in which you ask Maple to execute them.
If you get confused, just ask Maple to execute the entire worksheet by clicking the [!!!] button.
Some programming tips.
- Start each worksheet with restart;.
- End each command line with a semicolon ; or,
in order to suppress output, a colon :.
- For improved readability:
-
Use comments #This is a comment.
-
Use blank command lines
- Use spaces.
x:=(-b+sqrt(b^2-4*a*c))/(2*a);.
may be more readable as
x:=( -b + sqrt(b^2 - 4*a*c) )/(2*a);.
- Sometimes you want to combine a set of commands on the same line:
x:=5; y:=3*x+2;.
with each command (as always) is separated by a semicolon or colon.
(Maple with execute all commands on this line, then display the output.)
- Use soft-newlines [SHIFT-ENTER] key combination. (See examples below.)
This is equivalent to the last line in the above example... but it's more readable.
- "Split Execution Groups" [F3].
This is equivalent to the first two lines (after the restart) in the above example.
- Here are some of these ideas at work:
Here I am using both the soft-newline and the comment-symbol
to let me keep my program variations available to me.
I can switch the position of the comment symbol to select a different option.
(Watch the placement of the commas and the comment-symbols!)
Save your work as a "Maple Classic Worksheet".
When you save your work, choose the "Maple Classic Worksheet" type (for maximum compatibility):
back