Student[Calculus1] - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

Student[Calculus1]

 Show
 show the current state of a problem or problems

 Calling Sequence Show(expr)

Parameters

 expr - (optional) algebraic, algebraic equation, or all; specify the problem(s)

Description

 • The Show command displays the current state of a single problem or all problems from the current Maple session.  The display is accomplished using calls to print; the value returned by Show is NULL.  Thus, the history variables, %, %%, and %%%, are not modified by this command.
 • If called with no arguments, the problem  designated the current problem is 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 corresponding problem is displayed.
 • If expr is a subproblem label (see ShowIncomplete), the current state of the corresponding subproblem is displayed.  This subproblem need not be a subproblem of the current problem.
 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 Show.
 • If expr is the keyword all, the current states 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.
 • This command does not change which problem is designated the current problem.

Examples

 > $\mathrm{with}\left(\mathrm{Student}[\mathrm{Calculus1}]\right):$
 > ${\mathrm{infolevel}}_{\mathrm{Student}[\mathrm{Calculus1}]}≔1:$
 > $\mathrm{Rule}[\mathrm{+}]\left(\frac{{ⅆ}}{{ⅆ}x}\left({x}^{2}+x\right)\right)$
 Creating problem #1
 $\frac{{ⅆ}}{{ⅆ}{x}}{}\left({{x}}^{{2}}{+}{x}\right){=}\frac{{ⅆ}}{{ⅆ}{x}}{}\left({{x}}^{{2}}\right){+}\frac{{ⅆ}}{{ⅆ}{x}}{}{x}$ (1)
 > $\mathrm{Rule}[\mathrm{^}]\left({∫}{x}^{3}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}x\right)$
 Creating problem #2
 ${∫}{{x}}^{{3}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}{=}\frac{{1}}{{4}}{}{{x}}^{{4}}$ (2)
 > $\mathrm{Show}\left(\right)$
 ${∫}{{x}}^{{3}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}{=}\frac{{1}}{{4}}{}{{x}}^{{4}}$ (3)
 > $\mathrm{Show}\left(1\right)$
 $\frac{{ⅆ}}{{ⅆ}{x}}{}\left({{x}}^{{2}}{+}{x}\right){=}\frac{{ⅆ}}{{ⅆ}{x}}{}\left({{x}}^{{2}}\right){+}\frac{{ⅆ}}{{ⅆ}{x}}{}{x}$ (4)
 > $\mathrm{ShowIncomplete}\left(1\right)$
 ${\mathrm{%Diff2}}{=}\frac{{ⅆ}}{{ⅆ}{x}}{}\left({{x}}^{{2}}\right)$
 ${\mathrm{%Diff3}}{=}\frac{{ⅆ}}{{ⅆ}{x}}{}{x}$ (5)
 > $\mathrm{Show}\left(\mathrm{%Diff3}\right)$
 Problem 1:
 $\frac{{ⅆ}}{{ⅆ}{x}}{}{x}$ (6)
 > $\mathrm{Rule}[\mathrm{*}]\left(\underset{x→{0}^{+}}{{lim}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}x{ⅇ}^{x}\right)$
 Creating problem #3
 $\underset{{x}{→}{{0}}^{{+}}}{{lim}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{x}{}{{ⅇ}}^{{x}}{=}\left(\underset{{x}{→}{{0}}^{{+}}}{{lim}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{x}\right){}\left(\underset{{x}{→}{{0}}^{{+}}}{{lim}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{{ⅇ}}^{{x}}\right)$ (7)
 > $\mathrm{Clear}\left(1\right)$
 Problem #1 has been cleared
 > $\mathrm{Show}\left(\mathrm{all}\right)$
 Problem 2:
 Problem 3:
 ${∫}{{x}}^{{3}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}{=}\frac{{1}}{{4}}{}{{x}}^{{4}}$
 $\underset{{x}{→}{{0}}^{{+}}}{{lim}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{x}{}{{ⅇ}}^{{x}}{=}\left(\underset{{x}{→}{{0}}^{{+}}}{{lim}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{x}\right){}\left(\underset{{x}{→}{{0}}^{{+}}}{{lim}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{{ⅇ}}^{{x}}\right)$ (8)

 See Also