Document 251

Re-evaluating expressions

Version: 3.0 - Scientific WorkPlace & Scientific Notebook

In SWP 3.0, if you create the Maple definition x=3 and then use Maple to evaluate Math: x², the system correctly returns the value 9. If you need to change the value of x to 4, you have to redefine x and then re-evaluate Math: x². This is easy to do for a single definition, but time consuming for many.

To save time, use the formula feature to update many expressions that all depend on x:

  1. From the Insert menu, choose Field and then choose Formula.

  2. In the Formula area, enter Math: x².

  3. In the Operation field, enter Evaluate.

  4. Choose OK.

Now, when you define a new value for x, the formula field will automatically update itself with the correct value for Math: x².

Revised 05/03/02

This document was created with Scientific WorkPlace.