show the incomplete subproblems of a problem or problems - Maple Help

Online Help

All Products    Maple    MapleSim


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

Student[Calculus1][ShowIncomplete] - show the incomplete subproblems of a problem or problems

Calling Sequence

ShowIncomplete(expr, fullopt, dataopt)

Parameters

expr

-

(optional) algebraic or algebraic equation; select the problem(s) to show

fullopt

-

(optional) BooleanOptfull; select whether to show all incomplete subproblems or only subproblems that have not been started

dataopt

-

(optional) BooleanOptdata; select whether to display results using printed output or to return the results as data

Description

• 

The ShowIncomplete command displays the incomplete subproblems of a single problem or of all problems from the current Maple session.

• 

If the dataopt parameter is not given, or is given as data = false, the display is accomplished using calls to print; the value returned by ShowIncomplete is NULL.  Thus, the history variables, %, %%, and %%%, are not modified by this command.  This is the default.

  

If the datatopt parameter is given as either data or data=true, this routine returns an expression sequence of lists, giving the problem data for each relevant subproblem.

• 

Each subproblem of a problem, which has been entered into the Calculus1 system using a call to Rule or Hint, is assigned a subproblem label.  These labels are of the form "%" + operation name + integer, where operation name is one of Diff, Int, or Limit, corresponding to the calculus operation type of the problem, for example, %Diff2.

  

As you solve a problem by applying rules using the Rule command, subproblems may be created.  For example, the application of the sum rule for differentiation to an expression of the form ⅆⅆxfx+gx creates two new subproblems, ⅆⅆxfx and ⅆⅆxgx.

  

Once a subproblem has been completed, its value is substituted into the internal representation of the problem and the corresponding subproblem label is cleared.

• 

You can use the fullopt option to determine whether all subproblems are displayed (full = true or full) or only those subproblems that do not have subproblems are displayed (full = false).  The default is full = false.

• 

If the parameter expr is omitted, the incomplete subproblems of the current problem are displayed.  To designate a problem the current problem, create a new problem (see Rule or Hint) or use the GetProblem command.

• 

If expr is a positive integer, the incomplete subproblems of the corresponding problem are displayed.

• 

If expr is a subproblem label, the incomplete subproblems of the subproblem with the label expr are displayed. The subproblem referenced by expr need not be a subproblem of the current problem.

• 

If expr is the keyword all, the incomplete subproblems of all problems from the current session are displayed.  Note: Problems that have been cleared by a call to Clear are not displayed.

• 

If expr is the output from a previous call to Rule or GetProblem (with the internal option), or the left-hand side of such output, the current state of that problem is displayed.

• 

Maple returns an error if you attempt to display a problem that has been cleared by a call to the package routine Clear.

• 

Note: Treat subproblem labels as temporary objects because the application of a rule to a problem can change the underlying problem representation, and hence the subproblem labels.  It is recommended that you call ShowIncomplete to verify the value of a label before passing it to a command.

• 

This command does not change which problem is designated the current problem.

Examples

withStudent[Calculus1]:

infolevel[Student[Calculus1]]:=1:

UnderstandDiff,chain

Diff=chain

(1)

Rule`*`ⅆⅆxx2sinx2+ⅇx

Creating problem #1

ⅆⅆxx2sinx2+ⅇx=ⅆⅆxx2sinx2+ⅇx+x2ⅆⅆ_Xsin_X_X=x2+ⅇx|ⅆⅆ_Xsin_X_X=x2+ⅇxⅆⅆxx2+ⅇx

(2)

Rulesin

ⅆⅆxx2sinx2+ⅇx=ⅆⅆxx2sinx2+ⅇx+x2cosx2+ⅇxⅆⅆxx2+ⅇx

(3)

Rule`+`

ⅆⅆxx2sinx2+ⅇx=ⅆⅆxx2sinx2+ⅇx+x2cosx2+ⅇxⅆⅆxx2+ⅆⅆxⅇx

(4)

Rule`+`∫x3+ⅇxⅆx

Creating problem #2

∫x3+ⅇxⅆx=∫x3ⅆx+∫ⅇxⅆx

(5)

ShowIncompletedata

%Int2,∫x3ⅆx,%Int3,∫ⅇxⅆx

(6)

ShowIncomplete1,full

%Diff1=ⅆⅆxx2sinx2+ⅇx=%Diff2sinx2+ⅇx+x2%Diff3

%Diff2=ⅆⅆxx2

%Diff3=ⅆⅆxsinx2+ⅇx=cosx2+ⅇx%Diff5

%Diff5=ⅆⅆxx2+ⅇx=%Diff6+%Diff7

%Diff6=ⅆⅆxx2

%Diff7=ⅆⅆxⅇx

(7)

Rule`^`GetProbleminternal

∫x3+ⅇxⅆx=14x4+∫ⅇxⅆx

(8)

ShowIncomplete

%Int3=∫ⅇxⅆx

(9)

See Also

Diff, Int, Limit, Student, Student[Calculus1], Student[Calculus1][Show], Student[Calculus1][ShowSteps], 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