Introduction to programming with Maple |
Maple is a full-fledged programming language, but you do not need to know all the arcane features of the language to accomplish basic tasks. This section presents a few examples of Maple programs to give you some idea of what is feasible.
By using the examples in this section as samples, you should be able to write your own simple Maple programs. If you want to see more examples of Maple programs, try inspecting the code of some of the commands that come with Maple. For example, executing the Maple commands
interface(verboseproc=2); print(rand);
will display the internal code for
Maple's random number generator rand
. If you want to go
further and do sophisticated Maple programming, consult the
second edition of the Maple V Programming Guide,
by M. B. Monagan, K. O. Geddes, K. M. Heal, G. Labahn, and
S. Vorkoetter, published by
Springer in 1998.
Introduction to programming with Maple |