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

  

WhatProblem

  

get the problem number of the current Calculus1 problem

 

Calling Sequence

Description

Examples

Calling Sequence

WhatProblem()

Description

• 

The Calculus1 package maintains an internal table of problems that have been worked on (step by step) in the current session.  This table is not directly accessible, but you can obtain information about its contents.  Use WhatProblem to obtain the number of the current problem in the problems table.

• 

The WhatProblem() command returns −1 if there is no current problem (either the most recent current problem has been cleared by a call to Clear or there are no problems in the problems table).

Examples

withStudentCalculus1:

infolevelStudentCalculus11:

WhatProblem

−1

(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)

WhatProblem

2

(4)

GetProblem1

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

(5)

WhatProblem

1

(6)

See Also

Student

Student[Calculus1]

Student[Calculus1][GetNumProblems]

Student[Calculus1][GetProblem]

Student[Calculus1][SingleStepOverview]