Student[Calculus1]
Undo
undo the last rule applied to a problem
Calling Sequence
Parameters
Description
Examples
Undo(expr)
expr
-
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.
with⁡StudentCalculus1:
infolevelStudentCalculus1≔1:
Rulechange,u=2⁢x⁡Int⁡sin⁡3⁢x,x
Creating problem #1 Applying substitution x = 1/2*u, u = 2*x with dx = 1/2*du, du = 2*dx
∫sin⁡3⁢xⅆx=∫sin⁡3⁢u22ⅆu
Undo⁡
∫sin⁡3⁢xⅆx
Rulechange,u=3⁢x⁡
Applying substitution x = 1/3*u, u = 3*x with dx = 1/3*du, du = 3*dx
∫sin⁡3⁢xⅆx=∫sin⁡u3ⅆu
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][Rule]
Student[Calculus1][SingleStepOverview]
Download Help Document