Physics 410: Maple
Please report all errors/typos. etc to
choptuik@physics.ubc.ca
Last updated September 15 2003
- Lecture 1 (Sep 18)
- 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 6 / Maple 7
(the versions currently installed on the lnx machines and physics 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 window at initial
startup. A Taylor series
example. Sample invocation of maple from the
command-line.
- Worksheet
(PS)
showing calculations in Chapter 2 of Maple V Learning Guide
by Heal et al.
- Lecture 2 (Sep 18 & 23)
- Some Useful Maple Commands:
(PS)
- Combined handout of various Maple source files covered below:
(PS)
The source code files per se (with the exception of polyinterp),
are 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 sums the elements of a list.
- Maple source file tladd
which tests ladd, and
execution trace.
- Lecture 3 (Sep 25)
- Maple procedure polyinterp for computing Lagrange
interpolating polynomial
(PS)
- polyinterp usage examples
(PS)
- Additional Material
- Annotated maple source file pgmguide1 to accompany Chapter 1 of Maple V Programming Guide