Clear - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[Calculus1]

  

Clear

  

clear the Calculus1 problems table

 

Calling Sequence

Parameters

Description

Examples

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

withStudentCalculus1:

infolevelStudentCalculus11:

Diffx2+x,x

ⅆⅆxx2+x

(1)

Rule`+`

Creating problem #1

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

(2)

Show1

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

(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`/`Limitsinxexpx,x=a

Creating problem #2

limxasinxⅇx=limxasinxlimxaⅇx

(4)

GetNumProblems

1,2

(5)

Showall

Problem 2:

limxasinxⅇx=limxasinxlimxaⅇx

(6)

Clearall

The problems table is cleared.

GetNumProblems

0,0

(7)

See Also

Student

Student[Calculus1]

Student[Calculus1][SingleStepOverview]