clear the Calculus1 problems table - Maple Help

Online Help

All Products    Maple    MapleSim


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

Student[Calculus1][Clear] - clear the Calculus1 problems table

Calling Sequence

Clear(n)

Clear(all)

Parameters

n

-

positive integer; specify problem number

Description

• 

The Calculus1 package maintains an internal table of problems stepped through (see Rule) in the current session.

• 

The Clear(n) command clears problem #n from the problems table.

• 

The Clear(all) command clears all problems from the problems table and resets the two GetNumProblems return values to 0 (zero).

• 

This internal Calculus1 problems table is not directly accessible.

  

To display the current state of any problem in the table, use the Show, ShowSteps, and ShowIncomplete commands.

  

To change the current problem, use the GetProblem command.

  

To obtain the number of problems currently in the table, use the GetNumProblems command.

  

To obtain the number of the current problem, use the WhatProblem command.

Examples

withStudent[Calculus1]:

infolevel[Student[Calculus1]]:=1:

ⅆⅆxx2+x

ⅆⅆxx2+x

(1)

Rule`+`

Creating problem #1

ⅆⅆxx2+x=ⅆⅆxx2+ⅆⅆxx

(2)

Show1

ⅆⅆxx2+x=ⅆⅆxx2+ⅆⅆxx

(3)

Clear1

Problem #1 has been cleared

If you try to access a cleared problem, Maple returns an error.

Show1

Error, (in Student:-Calculus1:-Show) 1 is not a valid problem number

Rule`/`limx→asinxⅇx

Creating problem #2

limx→asinxⅇx=limx→asinxlimx→aⅇx

(4)

GetNumProblems

1,2

(5)

Showall

Problem 2:

limx→asinxⅇx=limx→asinxlimx→aⅇx

(6)

Clearall

The problems table is cleared.

GetNumProblems

0,0

(7)

See Also

Student, Student[Calculus1], 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