6. After you finish inputting the entire program, press J.This will display the Prog Edit file menu (page 108).

The name of the program you just input will be highlighted (selected) on the screen.

7. Try running the program you just created (OCTAHEDRON). Press J to display the Program Menu screen, and then press 2(RUN).

This displays the Prog List screen. Pressing E will run the program whose name is currently highlighted (selected) on the Prog List screen.

8.Since “OCTAHEDRON” is already highlighted, simply press E to run it.
Run the program:

E

 

(This will display a prompt for input of a value for variable A.) Input 7 for A:

7E (This displays the calculated result of surface area S.)

The ^ command in the program causes it to pause and display the calculation result up to that point.

Resume the program to perform the next calculation:E (This displays the calculated result of volume V, and ends the program.)

9.To calculate the surface area and volume of the second octahedron, press J or E to return to the Prog List screen, and repeat step 8, inputting 10 for A. Do this one more time for the third octahedron, inputting 15 for A.

You can return to the normal calculation screen by pressing N1(COMP) to enter the COMP Mode any time at the end of step 8.

Note

If the file name you input in step 3 of the above procedure is already used by another program, pressing E will display the editing screen for the existing program.

There are a number of different ways to run a program in addition to the method described in this procedure. For more information, see “Running a Program” (page 109).

E-107