E-36
Storing a Program
Use the following procedure to specify the Edit Prog Mode and store a
program in memory.
Edit Prog .............................................................................
F
F
F
1
• Example:
To create a program that uses Heron’s formula to calculate the
area of a triangle based on the lengths of its three sides
Formula: S =
s (s – A)(s – B)(s – C)
Note that: s =
.
1. Enter the Edit Prog Mode, which displays the screen shown below.
(A + B + C) /2
2. Select the program number (P1 to P4) to which you want to assign the
program.
Ex.:
2
(Program P2)
P–1234 308
Ed i t P r o g
PRGM
If there is already a
program in memory, its
number appears on the
display.
Remaining capacity (bytes)
–
000
PRGM
Number of bytes used by program P2.
PRGM
3. Input the program.
Program
?
→
A: ?
→
B: ?
→
C: (A + B + C)
÷
2
→
D
^
D
×
(D – A)
×
(D – B)
×
(D – C):
Ans
• To input a colon (:), press
<
.
• To input “
→
A”, press
A
j
q
.
• You can also input a variable name using the
p
key. To input “X” for
example, press
p
x
.