6-1
Chapter 6
Programming
1. Basic Programming Steps
Commands and calculations are executed sequentially, just like manual calculation multi-
statements.
1. From the Main Menu, enter the
PRGM
mode.
When you do, a program list appears on the display.
Program name
The number of bytes
used by each program
Files are listed in the alphabetic sequence of their names.
2. Register a file name.
3. Input the program.
4. Run the program.
• A file name can be up to eight characters long.
• The following are the characters you can use in a file name: A through Z, ’, ~, 0 through 9, +,
–
• Registering a file name uses 32 bytes of memory.
Example
To calculate the surface area (cm
2
) and volume (cm
3
) of three regular
octahedrons when the length of one side is 7, 10, and 15 cm,
respectively
Store the calculation formula under the file name OCTA.
The following are the formulas used for calculating surface area S and
volume V of a regular octahedron for which the length of one side A is known.
1
m
PRGM
2
3
(NEW)
a3
(K-O)
5
(O)
J1
(A-E)
3
(C)
J4
(P-T)
5
(T)
J
1
(A-E)
1
(A)
w
③
!
0
(PRGM)
4
(?)
a1
(A-E)
1
(A)
!
0
(PRGM)
65
(:)
c*
!x
(
'
)
d*
a1
(A-E)
1
(A)
x!
0
(PRGM)
5
(
^
)
!x
(
'
)
c/d*
a1
(A-E)
1
(A)
!
a
(CATALOG)
a6
(SYBL)
4
(
9
)
c
〜
c
(^)
JJ1
(INPUT)
d
JJ
A
A
S = 2
'
3 A
2
, V = A
3
––––
'
2
3
S = 2
'
3 A
2
, V = A
3
––––
'
2
3
6