EasyManua.ls Logo

Casio fx-3650P

Casio fx-3650P
48 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3
01 Greatest Common Divisors
Given two natural numbers, and , the greatest common divisor may be found using
Euclid’s algorithm. A simplified explanation is given below:
1.Let and be two natural numbers.
2.Let be the remainder after dividing by .
3.If , set and and return to 2.
4.If =
0 , then is the greatest common divisor.
Program
Lbl 1:?→ A:?→ B:B Goto 1:Lbl 2:A A:A
Goto 2: =0⇒ Goto 3: C:B A: B:Goto 2:Lbl
 3:B < 60 STEP
Execution Example:
Find the greatest common divisor of 210 and 60.
AB
Greatest common divisor
AB AB>()
CAB
C 0 BA CB
CB
ON
MODE MODE MODE
1
PRGM
MODE
1
COMP
1
P1
Prog
1
S A
D R
P1
P1
P2 P3 P4
G
210
EXE
S A
D R
P1
P1
P2 P3 P4
G
60
EXE
S A
D R
P1
P1
P2 P3 P4
G
数電卓事例集 .book 3 ペー 2002年9月2日 月曜日 午後6時51分

Other manuals for Casio fx-3650P

Related product manuals