Divpc, Egcd – HP 49g Graphing Calculator User Manual
Page 139
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
Flags:
Exact mode must be set (flag -105 clear).
Numeric mode must not be set (flag -03 clear).
Example:
Modulo the default modulus, 3, divide 5a’^+4x+2 by
a-2+1.
Command:
D I V M O D ( 5 * X ^ 2 + 4 * X + 2 , X ^ 2 + l )
Result:
-
{ ( X ^ 2 - X + l ) / X " 2 + l ) )
DIVPC
Type:
Command
Description:
Returns a Taylor polynomial for the quotient of two
expressions.
Access:
Calculus,
(3&S)
LIMITS & SERIES
Input:
Level 3/Ai'gument 1: The nmuerator expression.
Level 2/Argument 2; The denominator expression.
Level 1/Argument 3: The degree of the Taylor
polynomial.
Output:
The Taylor polynomial at ,x = 0 of the quotient of the two
expressions, to the specified degree.
Flags:
Exact mode must be set (flag -105 clear).
Niuneric mode must not be set (flag -03 clear).
Example:
Find the fourth degree Taylor polpiomial for the
following:
+ 4x + 12
1 lx -P 1
Command:
DIVPC ( X ^ 3 + 4 * X + 1 2
,
11*X''11 + 1 , 4 )
Result:
1 2 + 4 * X + X " 3
EGCD
Type:
Command
Description:
Given two polynomials, a and b, returns polynomials u,
V ,
and c where:
au+bv=c
In the equation, c is the greatest common divisor of a
and b.
Page 14-16
Computer Algebra Commands