You are on page 1of 17

Sharp EL-9900 Graphing Calculator

Basic Keyboard Activities


General Mathematics Algebra Programming

Advanced Keyboard Activities


Algebra Calculus Statistics Trigonometry Programming

Sharp EL-9900 Graphing Calculator


Basic Keypad

EL-9900
SUB SPLIT TBLSET D R AW F O R M AT CALC

Y=
OPTION

GRAPH
LIST

TABLE
CLIP

WINDOW

ZOOM

TRACE

+ . . ON

STAT PLOT

SLIDE SHOW
A-LOCK

OFF

2ndF

ALPHA

INS

SET UP

QUIT

MATH
A

STAT
B

PRGM
C

DEL
D

BS
%

CL

Simp
G

ab

bc
a
I

A. xxx

. int .

F
2

x
}

ab c
L

a b
M

ab
N

RCL K

VARS

STO
{

x
P

7
Q

8
R

9
S

)
T CATALOG U

4
V

5
W

6
X

x
Y

. .

1 0

2
SPACE

3
()

+
ENTRY

ANS

xp

ENTER

CREATING A NEW PROGRAM


1. The Basic keyboard can only execute a program. Use the Advanced Keyboard to enter and check the program. 2. Turn the calculator on and press PRGM to enter the programming menu. The menu consists of commands to execute, edit, and create new programs. 3. Press C (NEW) and ENTER to open a new program. The calculator is now locked in ALPHA mode and is prepared to accept a name for the new program. Enter the program name. 4. You can now enter the program. All program commands are obtained in the program menu. You cannot type program commands using the ALPHA key. To reach this menu, press PRGM . All the program commands begin with an uppercase letter. 5. Press CL to exit the program commands. When entering a new program, you must press ENTER at the end of each line. 6. If you make a mistake entering a program, use the calculator's editing feature to correct the error. First, you can press the arrow keys to move around the program. Second, you can use the DEL key which deletes a highlighted item, the BS key which backspace deletes an item, and the 2ndF INS keys which allow you to insert new items. Third, the calculator operates in typeover mode which allows you to simply type over a mistake. You must press ENTER after correcting a mistake for the correction to be saved for future use.

1 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

EXECUTING A PROGRAM
1. After entering the program with the Advanced Keyboard, press 2ndF QUIT to save the program and exit the editing mode. 2. Execute a program by pressing PRGM A (EXEC) and select the program

using the arrow keys and press ENTER . 3. If you receive an error statement, press

program in which the error occurs. Compare your line with the correct one above to find the error. Correct the error using the editing features of the calculator and press ENTER to save the correction. Press 2ndF QUIT and try to execute the program again. 4. Once the program is working, you can execute the program from the Basic Keyboard.

2 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

to go to the line within the

PRIME FACTORIZATION
1. Program the calculator to find the prime factorization of a whole number greater than 2. This method decomposes a number into the prime factors 2, 3, 5, etc. 2. Create a new program with the name DECOMP. Enter the following program and remember to press ENTER at the end of each line. If you make a mistake, use the calculators editing features to correct the error. 3. Enter the following program using the Advanced Keyboard: Input N 2D Label A If (ND) = int (ND) Goto B PRGM 2 STO B B D B D B 2ndF 2 B B N A B B A A 1 0 0 1 6 0 0 0 2 1 0 + 3 PRGM PRGM ALPHA ( D+1D If D N Goto A PRGM ALPHA ENTER PRGM F B Goto C Label B NDN Print D Goto A Label C Print N End Press 2ndF 6 0 ALPHA ALPHA A ALPHA ALPHA ALPHA ALPHA 2 1 D D N ENTER C B ENTER ENTER STO ENTER A C ENTER ENTER ALPHA D MATH PRGM A 3 0 0 ) N 2 1 ALPHA D ( 1 3 N ENTER A = ENTER N MATH D B ALPHA ) ENTER D B 0 5

ALPHA

ENTER ALPHA

ALPHA ALPHA ALPHA STO

ALPHA

ALPHA

ALPHA

PRGM PRGM ALPHA N PRGM PRGM PRGM PRGM PRGM

ENTER ALPHA ALPHA N

ALPHA ENTER

ENTER

QUIT to exit the editor.

3 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

PRIME FACTORIZATION (continued)


4. Execute the DECOMP program from the Basic Keyboard by pressing PRGM and selecting DECOMP. Enter the number for which you want to find the prime factorization. Try 56. Press 5 6 factorization. ENTER to find the prime factorization of 56. You should then see the following prime

You can repeat this program for other numbers by pressing ENTER to execute the program over and over again. Press CL to clear the screen.

4 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

COMMON FACTORS
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 calculators editing features to correct the error. 3. Enter the following program using the Advanced Keyboard: Input A Input B 2D Label A If fpart (AD)0 Goto B PRGM PRGM 2 STO B B A PRGM PRGM ALPHA 2 If fpart (BD)0 Goto B 0 ENTER PRGM ALPHA 2 Print D Label B D+1D If Dmin(A,B) Goto A 0 ENTER PRGM PRGM ALPHA ENTER PRGM F 6 ALPHA ALPHA End PRGM B B A A 6 0 ) 3 B ENTER ENTER ALPHA 6 B D 0 MATH A 2 , MATH ALPHA A B D 1 0 + ALPHA 1 1 STO D ENTER B ALPHA ENTER D ALPHA B B 0 3 B MATH D 2 0 B ) 4 ( MATH B F ALPHA A A 3 3 0 0 ALPHA ALPHA D 1 3 B A B ENTER ENTER A B D 2 ) ENTER 4 ( F B MATH

ALPHA

ENTER

ALPHA MATH 0

ALPHA

PRGM

ALPHA

PRGM

ALPHA

PRGM

5 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

COMMON FACTORS (continued)


4. Execute the FACTORS program from the Basic Keyboard by pressing PRGM and selecting FACTORS. Enter the numbers for which you want to find the common factors. Try 60 and 48. Press 6 4 8 then see the following common factors. 0 ENTER ENTER to find the common factors of 60 and 48. You should

You can repeat this program for other numbers by pressing ENTER

to

execute the program over and over again. Press CL to clear the screen.

6 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

SYNTHETIC DIVISION
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 calculators editing features to correct the error. 3. Enter the following program using the Advanced Keyboard: Input D 0P {D+1,1} dim(mat A) Print COEFFIC IENTS P(X) PRGM 0 } STO { STO A E B P A C P B 2 B A B 3 , 0 2ndF MATRIX PRGM 2ndF C ( Label A P+1P Input C Cmat A(P,1) If P<D+1 Goto A Label B Input R Label C 1P 0S I A 3 ALPHA P D ) C T 1 1 S + D 1 C ENTER , 0 1 1 2ndF 2ndF

ALPHA ALPHA 2ndF A 1 N ) 0 + 1

ENTER

MATRIX ENTER 2 E O PRGM

A-LOCK

F P

I ALPHA

SPACE A

X//T/n

ENTER ALPHA STO C ENTER P ALPHA ENTER MATRIX ENTER P MATH 1 PRGM B C ENTER ENTER A 1 (

PRGM ALPHA ENTER PRGM ALPHA ALPHA PRGM F B 5 0

ALPHA STO 1 3 D 1 1 2ndF ) + A

ALPHA

ALPHA 0 3 0 ALPHA ALPHA

ALPHA

ENTER R ENTER

PRGM PRGM PRGM 1 0 STO STO

ALPHA ALPHA P S

ALPHA

ENTER ENTER

7 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

SYNTHETIC DIVISION (continued)


Print COEFFIC IENTS Q(X) PRGM 2ndF I Label D mat A(P,1)F F+SQ Print Q Wait RQS P+1P If P<D+1 Goto D mat A(P,1)F F+SQ Print REMAINDER Print Q End Press 2ndF E X//T/n PRGM 2ndF ) Q STO ENTER A A R P B 1 4 + 0 D F + 1 R A A 1 6 E ALPHA ENTER ALPHA 1 3 D A STO ALPHA + 1 1 ( S 2 A I Q Q STO ALPHA P MATH B P 0 , 1 ) Q ENTER ALPHA PRGM PRGM ALPHA S ALPHA ENTER PRGM F 2 STO ALPHA Q PRGM A-LOCK ALPHA PRGM PRGM 5 P PRGM ALPHA STO 2ndF N D E R ALPHA MATRIX ALPHA F A ENTER PRGM M ALPHA ENTER A N ) B 0 1 T S 1 A F PRGM C O SPACE ALPHA 1 ( ENTER S STO ALPHA 2 E Q D F F I C ( ALPHA ENTER P , 1 A-LOCK

ENTER ALPHA

MATRIX ALPHA F +

ALPHA

ENTER ALPHA

ALPHA

ENTER ENTER ALPHA ALPHA

2ndF

ENTER ENTER

QUIT to exit the editor.

8 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

SYNTHETIC DIVISION (continued)


4. Execute the SYNTHETI program from the Basic Keyboard by pressing PRGM and selecting SYNTHETI. Use synthetic division to divide P(x) = 2x3 + 3x2 + 4x + 5 by x 1. Enter the degree for P(x) by pressing 3 2 ENTER . Next enter the coefficients and constant for P(x) by pressing ENTER 3 ENTER 4 ENTER 5 ENTER . Enter the r ENTER . The first coefficient of Q(x) will to see additional coefficients. The remainder will

value of 1 by pressing 1 appear. Press ENTER

be shown to end the program. You should then see the following coefficients, constant and remainder (Q(x) = 2x2 + 5x + 9, remainder = 14).

You can repeat this program for other numbers by pressing ENTER

to

execute the program over and over again. Press CL to clear the screen.

9 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

RANDOM WALKS
1. Program the calculator to graph a random walk. A random walk can go in any direction for a random distance. This program stops when the graph tries to go outside the calculator display. 2. Create a new program with the name WALK. Enter the following program and remember to press ENTER at the end of each line. If you make a mistake, use the calculators editing features to correct the error. 3. Enter the following program using the Advanced Keyboard: ClrDraw 0D .5X .5Y Label A .2(random.5)H .2(random.5)K Line(X,Y,X+H, Y+K) X+HX Y+KY If X<0 Goto B If X>1 Goto B If Y<0 Goto B 2ndF 0 . . . . STO 5 5 2 2 DRAW STO STO B ( H ( K DRAW X//T/n ALPHA + Y B B B B B 0 0 0 0 0 + 3 B 3 2 3 2 0 MATH MATH A + K A 1 D ENTER ENTER ENTER Y ALPHA C C 2 ) H 1 1 ENTER A . . , , ENTER 5 5 ) ) STO STO

ALPHA

X//T/n ALPHA 1 ENTER ENTER

PRGM ALPHA ALPHA 2ndF Y Y , +

X//T/n H STO K ENTER

ALPHA ALPHA ENTER

ALPHA

X//T/n ALPHA Y 5 PRGM 0 PRGM PRGM PRGM PRGM

ALPHA

X//T/n STO

ALPHA X//T/n 0 2 X//T/n ALPHA ALPHA ALPHA

ALPHA F B F ENTER 3 F 1 5 0

ENTER MATH ALPHA MATH B Y B PRGM

ENTER MATH ENTER

10 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

RANDOM WALKS (continued)


If Y>1 Goto B D+(H2+K2)D PRGM 1 x Goto A Label B Print D End
2

B D

0 B +

3 0 K 2 1

ALPHA 2 2ndF x
2

Y (

MATH B ALPHA

F H

PRGM +

ALPHA )

ENTER ALPHA

ALPHA D

ALPHA B B A A 0 0 1 6

STO A B

ENTER ALPHA ALPHA D ENTER ENTER

PRGM PRGM PRGM PRGM

ALPHA ENTER

ENTER

4. First, press Y= and CL to clear the Y1 prompt. Press pressing WINDOW ENTER 1 0 1 ENTER 1 ENTER 1

CL ENTER

to clear 0

additional prompts if necessary. Set the viewing window for the graphing by ENTER ENTER . Execute the WALK program by

pressing PRGM and selecting WALK. The program will show you the random walk and then display the distance traveled in the walk. If your walk is short, then press than 10. ENTER to execute the program again. When you to view the graph. A long walk is greater have a long walk, press GRAPH

11 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

ROLLING DICE
1. Program the calculator to roll a set of dice. 2. Create a new program with the name ROLLING. Enter the following program and remember to press ENTER at the end of each line. If you make a mistake, use the calculators editing features to correct the error. 3. Enter the following program using the Advanced Keyboard: Print NUMBER OF DICE Input N 0K Label A Print int ( random 6)+1 K+1K If K<N Goto A End PRGM A-LOCK SPACE PRGM 0 STO B A C K B A A 6 PRGM PRGM MATH ALPHA ENTER PRGM F 5 ALPHA PRGM 0 3 N ALPHA PRGM K B MATH 0 2 ALPHA A A N O 3 ALPHA 0 1 1 + 1 1 1 U F PRGM M ALPHA K B N ENTER A 5 + ( 1 ENTER K ENTER B ) SPACE A E D 2 R I C E ENTER ENTER 2ndF

ALPHA 6

MATH

STO

ALPHA

ENTER ENTER

12 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

ROLLING DICE (continued)


4. Execute the ROLLING program by pressing to roll for you. Roll five dice by pressing 5 PRGM ENTER and selecting . The program will ROLLING. Enter the number of dice, up to eight, that you wish the calculator show the five values for the dice on the screen. You should see a screen similar to the following (the values for the dice should be different).

13 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

PYTHAGOREAN TRIPLES
1. Program the calculator to find Pythagorean triples. Pythagorean triples are three numbers x, y, and z that satisfy x2 + y2 = z2. 2. Create a new program with the name PYTHAG. Enter the following program and remember to press ENTER at the end of each line. If you make a mistake, use the calculators editing features to correct the error. 3. Enter the following program using the Advanced Keyboard: Input N 2J 1K Label A If (J2+K2)ipart ((J +K )) Goto B
2 2

PRGM 2 1 STO STO

3 ALPHA

ALPHA J K

N ENTER ENTER

ENTER

ALPHA B B B + A A A + A A B K B 0 A + 0 0 0 3 1 3 K ( B

PRGM PRGM x J 0
2

ALPHA 2ndF x
2

A (

ENTER ALPHA F ALPHA ) PRGM B 2 J

+ x
2

ALPHA

) x
2

MATH ( )

MATH 2

2ndF K ENTER J K K x2 A

ALPHA 1 1 1 1 4 0 +

ALPHA

Print J Print K Print (J +K )


2 2

PRGM PRGM PRGM J x2 PRGM PRGM PRGM ALPHA PRGM F 2 6

ALPHA ALPHA 2ndF PRGM ENTER 1 1 3 ALPHA STO

ENTER ENTER ( ) 2 B K 1 ) ALPHA ENTER ENTER ENTER K PRGM J MATH ENTER B 0 MATH

ALPHA

Print Wait Label B K+1K If K(J1) Goto A J+1J 1K If JN

ALPHA

ALPHA J STO K

( J B

ALPHA 1 3

ALPHA STO

ENTER ALPHA ENTER J ENTER

ALPHA 1 PRGM

ALPHA

ALPHA

14 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

PYTHAGOREAN TRIPLES (continued)


Goto A End F 6 ALPHA A A 6 N ENTER ENTER PRGM and selecting PRGM B 0 2 ALPHA PRGM

4. Execute the PYTHAG program by pressing bound to 15 by pressing 1 5

PYTHAG. Enter the upper bound for the Pythagorean triples. Set the upper ENTER . The program will show the first Pythagorean triple. Press ENTER to view additional triples. You should see screens similar to the following ones.

15 Basic Keyboard/PROGRAMMING USING THE SHARP EL-9900


Copyright 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.