Reference Guide

Full Command and Function Reference 3-63
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Radians mode must be set (flag –17 set).
Example: Find the result of
x
3
4+
x
2
1
--------------
, modulo 3.
Command:
DIV2MOD(X^3+4,X^2-1)
Result:
{X X+1}
DIVIS
Type: Command
Description: Returns a list of divisors of a polynomial or an integer.
Access: Arithmetic, or P
ARITH
Input: A polynomial or an integer.
Output: A list containing the expressions or integers that exactly divide into the input.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Example: Find the divisors of the following polynomial:
x
2
3x 2+ +
Command:
DIVIS(X^2+3*X+2)
Result:
{1,X+1,X+2,X^2+3*X+2}
See also: DIV2
DIVMOD
Type: Function
Description: Divides two expressions modulo the current modulus.
Access: Arithmetic,
MODULO
Input: Level 2/Argument 1: The dividend.
Level 1/Argument 2: The divisor.
Output: The quotient of the terms modulo the current modulus.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Example: Modulo 3, divide 5x
2
+4x+2 by x
2
+1.
Command:
DIVMOD(5*X^2+4*X+2,X^2+1)
Result:
-((X^2-X+1)/X^2+1))
DIVPC
Type: Command
Description: Returns a Taylor polynomial for the quotient of two polynomial expressions.
Access: Calculus,
LIMITS
&
SERIES
Input: Level 3/Argument 1: The numerator 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.