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
|
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.)
|
•
|
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, . 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 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
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (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.
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
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.
| |
| (10) |
>
|
|
| (11) |
If the operation type is ambiguous, Maple returns an error
>
|
|
>
|
|
| (12) |
|
|