Go to CCP Homepage Go to Materials Page Go to Differential Calculus Materials Go to Table of Contents
Go Back One Page Go Forward One Page

Maple Tutor

Part 5: Current values of variables

  1. Enter
    z:=3*s*t + 2
    Now assign the value 7 to s and the value 1 to t.
    s:=7; t:=1
    Then enter
    z
    to see the current value of z.


  2. Go back up to the line
    s:=7
    and change the 7 to 8. Then press RETURN while the cursor is still in this line. Again note that an altered line must be entered for the altered value to be acknowledged by Maple. Similarly, change the value of t to -1. Now enter
    z
    again.

We repeat: Maple remembers what has been entered in the order it was entered.

  1. A very useful button is the restart button. If you press the restart button at the top of the screen, which looks like a broken circle with an arrow in it,  Maple clears the memory. It is the same as reloading the current document. All Maple commands that you need, including loading of packages, must be reentered.

Go to CCP Homepage Go to Materials Page Go to Differential Calculus Materials Go to Table of Contents
Go Back One Page Go Forward One Page


modules at math.duke.edu Copyright CCP and the author(s), 1998, 1999, 2007