7
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 perform synthetic division of a polynomial
by a linear divisor.
2. Create a new program with the name SYNTHETI. 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 D PRGM A 3 ALPHA D ENTER
0⇒P 0 STO ALPHA P ENTER
{D+1,1}⇒ 2ndF
{
ALPHA D + 1 , 1 2ndF
dim(mat A) } STO 2ndF MATRIX C 0 1 2ndF
MATRIX A 1
)
ENTER
Print “COEFFIC PRGM A 1 PRGM 2
IENTS P(X) 2ndF A-LOCK C O E F F I
C I E N T S SPACE P ALPHA
( X/θ/T/n ) ENTER
Label A PRGM B 0 1 ALPHA A ENTER
P+1⇒P ALPHA P + 1 STO ALPHA P
ENTER
Input C PRGM A 3 ALPHA C ENTER
C⇒mat A(P,1) ALPHA C STO 2ndF MATRIX A 1
(
ALPHA P , 1
)
ENTER
If P<D+1 PRGM B 0 3 ALPHA P MATH
Goto A F 5 ALPHA D + 1 PRGM
B 0 2 ALPHA A ENTER
Label B PRGM B 0 1 ALPHA B ENTER
Input R PRGM A 3 ALPHA R ENTER
Label C PRGM B 0 1 ALPHA C ENTER
1⇒P 1 STO ALPHA P ENTER
0⇒S 0 STO ALPHA S ENTER
SYNTHETIC DIVISION