ask for a hint for a Calculus1 problem - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Calculus 1 : Single Stepping : Student/Calculus1/Hint

Student[Calculus1][Hint] - ask for a hint for a Calculus1 problem

Calling Sequence

Hint(expr, opn)

Parameters

expr

-

algebraic or algebraic equation; specify the problem

opn

-

(optional) name; specify problem type: one of Diff, Int, and Limit

Description

• 

The Hint(expr) command returns a hint for the problem matching expr.  If no problem in the Calculus1 table of problems for the current session matches expr, a new problem is created for this expression.  The parameter expr must be a(n):

1. 

New problem (typically an expression of the form Diff(...), Int(...), or Limit(...))

2. 

Output from a previous invocation of Rule

3. 

Output from a call to GetProblem

4. 

Subproblem label, as displayed by a call to ShowIncomplete (Note: Treat subproblem labels as temporary objects because the application of a rule to a problem can change the underlying problem representation, and hence the subproblem labels.  It is recommended that you call ShowIncomplete to verify the value of a label before passing it to Hint.)

• 

This command can be applied interactively by using the DiffTutor, IntTutor, or LimitTutor.

• 

Use the Hint(expr, opn) command if expr does not match a problem in the Calculus1 table of problems for the current session and expr includes more than one Calculus1 operation, for example, ⅆⅆxx+fx+xⅆx.  The opn parameter specifies the operation type. If expr matches a problem in the Calculus1 table of problems for the current session, the opn parameter is ignored (that is, you cannot change the operation type of an existing problem).

• 

The output from a call to Hint is a list containing a rule, or an expression sequence of rules, if more than one rule can be applied to the problem.  If Hint is unable to find a rule to suggest, it returns the empty list, .

• 

The output from Hint can be used directly as the index (specifying the rule to apply) to Rule.  That is, if expr is valid input to Hint, the construct Rule[Hint(expr)](expr) is also valid.  In the case that Hint returns multiple suggestions, this construct applies the first hint to Rule. You can, of course, request that the second, for example, suggestion be applied by using a construct such as Hint(expr); Rule[%[2]](expr);.

• 

It is recommended that you use the Maple userinfo system, by setting infolevel[Student] := 1 or infolevel[Student[Calculus1]] := 1. This displays informative messages in the form of userinfo output from Calculus1 routines as you solve complicated problems.

Examples

withStudent[Calculus1]:

infolevel[Student[Calculus1]]:=1:

ⅆⅆxx2+x

ⅆⅆxx2+x

(1)

Hint

Creating problem #1

sum

(2)

Rule

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

(3)

∫xsinxⅆx

∫xsinxⅆx

(4)

Hint

Creating problem #2

parts,x,cosx

(5)

Rule

∫xsinxⅆx=xcosx∫cosxⅆx

(6)

If the first reference to a problem is as the expr argument to Hint, you must use GetProblem to retrieve the problem to pass to Rule.

Hintlimx→0+xlnx

Creating problem #3

lhopital,lnx,lhopital,x

(7)

RuleGetProbleminternal

limx→0+xlnx=limx→0+x

(8)

∫tt+1t2+t+1ⅆt

∫tt+1t2+t+1ⅆt

(9)

Hint

Creating problem #4

Hints:

1. Complete the square and make a change of variable.

2. Convert the rational part of the integrand to partial fractions and split integrand into a sum of simpler expressions.

change,u=t+12,u,rewrite,tt+1t2+t+1=1t2+t+11t+1t2+t+1

(10)

Rule2

∫tt+1t2+t+1ⅆt=∫1t2+t+11t+1t2+t+1ⅆt

(11)

If the operation type is ambiguous, Maple returns an error

Hint∫x+ⅆⅆxx2ⅆx

Error, (in Student:-Calculus1:-Hint) unable to determine which calculus operation is being applied in this problem; you can provide this information as the 2nd argument on your call to Rule or Hint

Hint∫x+ⅆⅆxx2ⅆx,Diff

Creating problem #5

power

(12)

See Also

Diff, DiffTutor, Int, IntTutor, Limit, LimitTutor, Student, Student[Calculus1], Student[Calculus1][SingleStepOverview]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam