Undo - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[Calculus1]

  

Undo

  

undo the last rule applied to a problem

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Undo(expr)

Parameters

expr

-

algebraic or algebraic equation; select the problem to undo

Description

• 

The Undo command undoes the rule most recently applied to the problem expr.  It returns the previous state of the problem. This operation can be repeated until the problem is in its initial state.

• 

Maple commands other than the package commands Rule and Hint do not change the Calculus1 internal state of a problem. Therefore, Undo does not undo the results of applying such commands.  However, you can usually recover the prior state of such a problem by calling GetProblem.

• 

The normal input to Undo is the output from a previous call to Rule or GetProblem. To pass the output of GetProblem to Undo, use the internal option to GetProblem. However, the routine tries to match any expr to an existing problem.

• 

This command can be used within a tutor after applying a Rule interactively by using the DiffTutor, IntTutor, or LimitTutor.

Examples

withStudentCalculus1:

infolevelStudentCalculus11:

Rulechange,u=2xIntsin3x,x

Creating problem #1

Applying substitution x = 1/2*u, u = 2*x with dx = 1/2*du, du = 2*dx

sin3xⅆx=sin3u22ⅆu

(1)

Undo

sin3xⅆx

(2)

Rulechange,u=3x

Applying substitution x = 1/3*u, u = 3*x with dx = 1/3*du, du = 3*dx

sin3xⅆx=sinu3ⅆu

(3)

Undo

sin3xⅆx

(4)

If you call Undo on a problem in its initial state, Maple returns an error.

Undo

Error, (in Student:-Calculus1:-Undo) there is no previous state for this problem

See Also

DiffTutor

IntTutor

LimitTutor

Student

Student[Calculus1]

Student[Calculus1][Rule]

Student[Calculus1][SingleStepOverview]