Program Checking and Editing
(Correction, Addition, Deletion)
_______
___
Recalling a stored program can be performed in order to verify its contents. After
specifying the desired program area using ® or ED in the WRT mode (lE^d]),
the program contents will be displayed by pressing the S key. Once the program
¡s displayed, the ® (or ® ) key is used to advance the program one step at a
time for verification.
When the program has been improperly stored, editing can also be performed
by adding to it or erasing portions. Here a new program will be created by check
ing and editing the previous sample program (the surface area and volume of a
regular octahedron).
Example
Find the surface area and volume of a regular tetrahedron when the length
of one side is given.
Length of
one side (A)
Surface area (S) Volume (V)
10 cm ( )cm
2 ( )cm3
7.5
( ) ( )
2 0
( ) ( >
©Formulas
For a surface area S, volume V and one side A, S and V for a regular tetrahedron
are defined as:
r- V2
S = V3A2 V = ~ |A 3
©Programming
As with the previous example, the length of one side is stored in memory A and
the program then constructed.
Numeric value A RMfAliExi]
03Q @ §(A](ZI(i§
...............................................
S
® 2 H 1 2 Q H (a)@3@
....................................................................
V
When the above is formed into a program, it appears as follows:,
0 2 0 1 2 0 3 ® (¡3 3
- 1 0 9 -