INTRO TO PROGRAMING:
EVALUATE A FUNCTION - Casio 9800
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. Usu\
ally
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
SHIFT
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
Casio website to view a copy.
Casio Manuals
How to enter a new program
- Choose the PRGM icon in the main menu. Hit EXE.
- Choose PRG in the menu. Move the
cursor to the desired program position. Hit EXE.
- Now you are ready to type in each line of your program. It is a good idea to use the first line as an indicator of which program you are looking at. For example, in this program you might want the first line to read 'EVALUATE'. This will appear in the program position as a reminder but will not appear when you run the program because the word is within single quotes.
Any words in the program that begin with an uppercase letter (Goto, for example) are actually commands and must be retrieved from a menu or key.
The Program
This program has five lines. Hit EXE at the end of each line, except when using the
symbol. This symbol
has a built in return feature. When you are finished, hit MENU. If you need to delete a character use DEL. It deletes to the right of the cursor. If you need to insert characters use INS. It inserts to the left to the cursor.
'EVALUATE' |
{' is in ALPHA} |
Lbl 1 |
{Lbl is in PRGM under JMP} |
"X"? X |
{? is in PRGM} |
Y1
 |
{
is in PRGM}
{Y is in VAR under GPH} |
Goto 1 |
{Goto is in PRGM under JMP} |
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.
- Choose PRGM in the main menu. Choose PRG from the menu. Move the cursor to your program position. Hit RUN
- In the program above, you will be asked to enter a value of X. Type in the value and hit EXE. The function value should appear followed by the word Disp. Hit EXE, to continue running the program.
- When you are finished, hit MENU.