EasyManua.ls Logo

Sharp EL-9900C - Page 42

Sharp EL-9900C
153 pages
Print Icon
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...
5
Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900
Copyright © 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.
1. Program the calculator to find the common factors and the greatest common
factor of any pair of whole numbers.
2. Create a new program with the name FACTORS. Enter the following program
and remember to press ENTER at the end of each line. If you make a
mistake, use the calculator’s editing features to correct the error.
3. Enter the following program using the Advanced Keyboard:
Input A PRGM A 3 ALPHA A ENTER
Input B PRGM A 3 ALPHA B ENTER
2D 2 STO ALPHA D ENTER
Label A PRGM B 0 1 ALPHA A ENTER
If fpart (A÷D)π0 PRGM B 0 3 MATH B 4
(
Goto B ALPHA A ÷ ALPHA D
)
MATH F
2 0 PRGM B 0 2 ALPHA B
ENTER
If fpart (B÷D)π0 PRGM B 0 3 MATH B 4
(
Goto B ALPHA B ÷ ALPHA D
)
MATH F
2 0 PRGM B 0 2 ALPHA B
ENTER
Print D PRGM A 1 ALPHA D ENTER
Label B PRGM B 0 1 ALPHA B ENTER
D+1D ALPHA D + 1 STO ALPHA D
ENTER
If Dmin(A,B) PRGM B 0 3 ALPHA D MATH
Goto A F 6 MATH B 6 ALPHA A ,
ALPHA B
)
PRGM B 0 2
ALPHA A ENTER
End PRGM A 6 ENTER
COMMON FACTORS

Related product manuals