29
G
RAPHING
T
ECHNOLOGY
G
UIDE
: TI-82
Copyright © Houghton Mifflin Company. All rights reserved.
Press PRGM to access the programming menu. The TI-82 has space for many programs, each called by a name you
give it. Create a new program now, so press PRGM ◄ 1.
For convenience, the cursor is a blinking
A
, indicating that the calculator is set to receive alphabetic characters.
Enter a descriptive title of up to eight characters, letters or numerals (but the first character must be a letter). Name
this program QUADRAT and press ENTER to go to the program editor.
In the program, each line begins with a colon : supplied automatically by the calculator. Any command you could
enter directly in the TI-82’s home screen can be entered as a line in a program. There are also special programming
commands.
Input the program QUADRAT by pressing the keystrokes given in the listing below. You may interrupt program
input at any stage by pressing 2nd QUIT. To return later for more editing, press PRGM ►, move the cursor down
to this program’s name, and press ENTER.
Program Line Keystrokes
: Disp “Enter A” PRGM ► 3 2nd A-LOCK " E N T E R
O
A " ENTER
displays the words Enter A on the TI-82 screen
: Input A PRGM ► 1 ALPHA A ENTER
waits for you to input a value that will be assigned to the variable A
: Disp “Enter B” PRGM ► 3 2nd A-LOCK " E N T E R
O
B " ENTER
: Input B PRGM ► 1 ALPHA B ENTER
: Disp “Enter C” PRGM ► 3 2nd A-LOCK " E N T E R
O
C " ENTER
: Input C PRGM ► 1 ALPHA C ENTER
: B
2
- 4AC → DALPHA B x
2
– 4 ALPHA A ALPHA C STO➧ ALPHA D
ENTER
calculates the discriminant and stores its value as D
: If D>0 PRGM 1 ALPHA D 2nd TEST 3 0 ENTER
tests to see if the discriminant is positive
: Then PRGM 2 ENTER
in case the discriminant is positive, continues on to the next line;
if the discriminant is not positive, jumps to the command after Else below
: Disp “TWO REAL ROOTS” PRGM ► 3 2nd A-LOCK " T W O
O
R E A L
O
R O O T S "
ENTER