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

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

> 

with⁡StudentCalculus1:

> 

infolevelStudentCalculus1≔1:

> 

Diff⁡x2+x,x

ⅆⅆxx2+x

(1)
> 

Rule`+`⁡

Creating problem #1

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

(2)
> 

Show⁡1

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

(3)
> 

Clear⁡1

Problem #1 has been cleared

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

> 

Show⁡1

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

> 

Rule`/`⁡Limit⁡sin⁡xexp⁡x,x=a

Creating problem #2

limx→a⁡sin⁡xⅇx=limx→a⁡sin⁡xlimx→a⁡ⅇx

(4)
> 

GetNumProblems⁡

1,2

(5)
> 

Show⁡all

Problem 2:

limx→a⁡sin⁡xⅇx=limx→a⁡sin⁡xlimx→a⁡ⅇx

(6)
> 

Clear⁡all

The problems table is cleared.

> 

GetNumProblems⁡

0,0

(7)

See Also

Student

Student[Calculus1]

Student[Calculus1][SingleStepOverview]