Greatest Common Divisors - Casio fx-3650P Programming Manual

Programmable scientific calculator
Hide thumbs Also See for fx-3650P:
Table of Contents

Advertisement

01

Greatest Common Divisors

Given two natural numbers,
Euclid's algorithm. A simplified explanation is given below:
A
B
and
1.Let
C
be the remainder after dividing
2.Let
C 0
B
, set
3.If
0
C
=
, then
4.If
ON
MODE
MODE
Lbl 1:?→ A:?→ B:B > A ⇒ Goto 1:Lbl 2:A - B → A:A ≧ B
⇒ Goto 2:A =0⇒ Goto 3:A → C:B → A:C → B:Goto 2:Lbl
 3:B < 60 STEP >
Find the greatest common divisor of 210 and 60.
Prog
1
EXE
210
60
EXE
A
B
and
be two natural numbers.
A
C
B
and
and return to 2.
B
is the greatest common divisor.
MODE
, the greatest common divisor may be found using
(
>
)
A B
A
B
by
.
PRGM
COMP
1
MODE
S A
S A
S A
1
1
P1 P1 P2 P3 P4
D R
P1 P1 P2 P3 P4
D R
P1 P1 P2 P3 P4
D R
G
G
G
3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3950pFx-3950p

Table of Contents