HP 40gs User Manual

Page 231

Advertising
background image

Computer Algebra System (CAS)

14-49

[48,1,0]

[30,0,1]*–1

[18,1,–1]*–1

[12,–1,2]*–1

[6,2,–3]*–2

Result: [6,2,–3]

Pressing

or

then causes 2 AND –3 = 6 to be

written to the Equation Writer.

The intermediate steps shown are the combination of
lines. For example, to get line L(n + 2), take L(n) – q*L(n
+ 1) where q is the Euclidean quotient of the integers at
the beginning of the vector, these integers being the
sequence of remainders).

IQUOT

Returns the integer quotient of the Euclidean division of
two integers.

Example

Typing:

IQUOT(148, 5)

gives:

29

In step-by-step mode, the
division is carried out as if
in longhand

Pressing

or

then causes 29 to be
written to the Equation
Writer.

IREMAINDER

Returns the integer remainder from the Euclidean division
of two integers.

Example 1

Typing:

IREMAINDER(148, 5)

gives:

3

hp40g+.book Page 49 Friday, December 9, 2005 1:03 AM

Advertising
This manual is related to the following products: