undo the last rule applied to a problem - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Education : Student Package : Calculus 1 : Single Stepping : Student/Calculus1/Undo

Student[Calculus1][Undo] - undo the last rule applied to a problem

Calling Sequence





algebraic or algebraic equation; select the problem to undo



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.





Creating problem #1

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







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






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


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]

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam