GetNumProblems - 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]

  

GetNumProblems

  

get the current number of problems in the internal Calculus1 problems table

 

Calling Sequence

Description

Examples

Calling Sequence

GetNumProblems()

Description

• 

The Calculus1 package maintains an internal table of problems stepped through in the current session.  This table is not directly accessible, but you can obtain information about its contents.

• 

The GetNumProblems() command returns an expression sequence of two non-negative integers.  The first integer is the number of problems in the internal table that have not been cleared by a call to Clear.  The second integer is the total number of problems in the internal table.

• 

The Clear(all) command resets both numbers returned by the GetNumProblems routine to 0 (zero).

Examples

> 

with⁡StudentCalculus1:

> 

infolevelStudentCalculus1≔1:

> 

GetNumProblems⁡

0,0

(1)
> 

Rule`+`⁡Diff⁡x2+x,x

Creating problem #1

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

(2)
> 

Rule`c*`⁡Int⁡3⁢x2,x

Creating problem #2

∫3⁢x2ⅆx=3⁢∫x2ⅆx

(3)
> 

GetNumProblems⁡

2,2

(4)
> 

Clear⁡1

Problem #1 has been cleared

> 

GetNumProblems⁡

1,2

(5)
> 

Clear⁡all

> 

GetNumProblems⁡

0,0

(6)

See Also

Student

Student[Calculus1]

Student[Calculus1][SingleStepOverview]