INTRO TO PROGRAMING:
EVALUATE A FUNCTION - TI 89 or 92
Introduction
The instructions for entering, running, exiting, and editing are the same
for any program. The actual program on this sheet allows you to quickly
evaluate a function. This may be helpful when determining a reasonable
window for graphing or investigating the value of a limit.
Information that is printed within {} is not typed into the calculator. Usually
this contains instructions for finding a particular command. Anything
in RED denotes a button on the calculator.
For example + is the addition button. Anything
in BLUE denotes a button on the calculator that
requires hitting another button first. For example the QUIT command will
appear
here as QUIT because you need to hit the
2nd
button first.
Your calculator manual will be very valuable for finding the commands
and buttons needed for programming. If you have misplaced yours, visit the
TI website to view a copy. TI Manuals
If you have a TI Connectivity Cable, you can download the program
main.eval.89p
How to enter a new program
-
While on the Home screen, hit APPS.
Open the PROGRAM EDITOR menu. Move the cursor to NEW.
Hit ENTER.
-
Type in the name of the program in the box labeled VARIABLE. Choose a descriptive name up to 7 letters.
Keep in mind that the program names will eventually appear alphabetized.
These calculators treat programs just as they would variables. Be careful
not to use a name for your program that already appears as a command in your
calculator.
Hit ENTER twice.
-
Now you are ready to type in each line of your program. You will notice that
some lines have already appeared. Move your cursor to the first open
line beginning with a : symbol.
Any words in the program that begin with an uppercase letter (Disp, for
example) are actually commands. These models allow you to enter both
uppercase and lowercase letters. That means you can type in the entire
program letter by letter. But all commands can be found easily using
CATALOG. To move quickly through the
catalog, type in the first letter of the command you want to retrieve.
You will move to the portion of the catalog that contains words starting
with that letter.
The Program
This program has seven lines. Three lines will automatically appear.
Hit ENTER at
the end of each line. When you are finished, hit HOME.
:eval( ) |
{this will already appear assuming you named the program eval} |
:Prgm |
{this will already appear} |
:Lbl p |
{Lbl is in the CATALOG menu} |
:Prompt x |
{Prompt is in the F3 menu} {x is the X button} |
:Disp y1(x) |
{Disp is in the F3 menu} {y1 is the Y
button followed by a 1} |
:Goto p |
{Goto is in the CATALOG menu} |
:EndPrgm |
{this will already appear} |
How to run the program
-
In almost all programs you will need to enter a function into y1.
Enter it just as you do when graphing.
-
While on the HOME screen, hit
VAR-LINK . Move the cursor to the program name. Hit
ENTER. Close the parentheses using the
) button. Hit ENTER
-
In the program above, you will be asked to enter a value of x. Type in
the value and hit ENTER. The function value
should appear followed by another request for a value of x.
-
When you are finished, hit ON,
then ESC, and then HOME.