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

  

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

withStudentCalculus1:

infolevelStudentCalculus11:

GetNumProblems

0,0

(1)

Rule`+`Diffx2+x,x

Creating problem #1

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

(2)

Rule`c*`Int3x2,x

Creating problem #2

3x2ⅆx=3x2ⅆx

(3)

GetNumProblems

2,2

(4)

Clear1

Problem #1 has been cleared

GetNumProblems

1,2

(5)

Clearall

GetNumProblems

0,0

(6)

See Also

Student

Student[Calculus1]

Student[Calculus1][SingleStepOverview]