Physics 410: Maple
Please report all errors/typos. etc to
choptuik@physics.ubc.ca
Last updated September 2001
- Lecture 1 (Sep 18 & 20)
- Important: When working with xmaple
(the GUI-based version of maple),
make sure that you save your worksheets frequently (use, e.g., Ctrl-S) when working
on them to minimize the amount of work lost due to any unexpected
"crashes" of the interface and/or operating system.
- Important: Please note the following difference betweens Maple V.4
(the documentation handed out in class) and Maple V.5 / Maple 6
(the versions currently installed on the NT machines / lnx machines respectively):
- The percentage sign, %, replaces the
double-quotes character, ", as the shorthand for "last result";
similarly, %% replaces "" for "next-to-last result".
- The double pipe symbol, ||, replaces the period/dot, ., as
the concatenation operator. (Maple 6 only)
- Maple 6 window at initial
startup. A Taylor series
example. Sample invocation of maple from the
command-line.
- Worksheet
(PS)
(PDF)
showing calculations in Chapter 2 of Maple V Learning Guide
by Heal et al.
- Lecture 2 (Sep 20)
- Some Useful Maple Commands:
(PS)
(PDF)
- The Maple source files covered below are also available in ~phys410/maple on the
lnx machines.
- Sample Maple source file
example.
Use the Maple read command to input such a source file.
- Sample Maple procedure ladd which adds elements of numeric list.
- Maple source file tladd
which tests ladd, and
execution trace.
- Lecture 3 (Sep 25)
- Maple procedure polyinterp for computing Lagrange
interpolating polynomial
(PS)
(PDF).
- polyinterp usage examples
(PS)
(PDF).
- Additional Material
- Annotated maple source file pgmguide1 to accompany Chapter 1 of Maple V Programming Guide