Divis, Divmod – HP 49g Graphing Calculator User Manual

Page 138

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Output:

Level 2/Item 1: The quotient.
Level 1/Item 2: The remainder.

Flags:

Exact mode must be set (flag -105 clear).

Numeric mode must not be set (flag -03 clear).

Example:

V - ' + 4

Find the result of

— -----

, modulo the default modulus, 3.

X - - 1

Command:

D I V 2 M O D ( X ^ 3 + 4 , X ^ 2 - l )

Result:

{ X X + 1 }

DIVIS

Type:

Command

Description:

Returns a list of divisors of a polynomial or an integer.

Access:

Arithmetic,

0 ® B

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 -03 clear).

Example:

Find the divisors of the following polynomial:

2

X

+

3x

+

2

Command:

D I V I S ( X " 2 + 3 * X + 2 )

Result:

{ l , X + l , X + 2 , X ^ 2 + 3 * X + 2 }

See also:

DIV2

DIVMOD

Type:

Fimction

Description:

Divides two expressions modulo the current modulus.

Access:

Arithmetic,

RiAlTH) MODULO

Input:

Level 2/Ai'gument 1: The dividend.
Level 1/Argument 2: The divisor.

Output:

The quotient of the tenns modulo the current modulus.

Computer Algebra Commands

Page 14-15

Advertising