Addtmod – HP 49g Graphing Calculator User Manual

Page 130

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

Advertising
background image

Example:

Simplify the following expression:

a rc cos + arc cos (x)

Command:

A C 0 S 2 S ( A C O S ( 2 / 3 ) + A C O S ( X ) )

Result:

n / 2 - A S I N { 2 / 3 ) + T t / 2 - A S I N ( X )

See also:

ASIN2C
ASIN2T
ATAN2S

ADDTMOD

Type:

Fimction

Description:

Adds two expressions or values, modulo the current

modulus.

Access:

Arithmetic, 0(ARjTH)

MODULO

Input:

Level 2/Argmnent 1: The first expression.

Level 1/Argument 2: The second expression.

Output:

The sum of the two expressions, modulo the current
modulus.

Flags:

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

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

Example:

Express the result of the following addition in modulo 7.
(0+3a:+6)+(9a-+3)
Note: Use the CAS modes input fonn to set the modulo

to 7

Command:

ADDTMOD ( X - ^ 2 + 3 * X + 6 , 9 * X + 3 )

Result:

X ' ' 2 - 2 * X + 2

Computer Algebra Commands

Page 14-7

Advertising