367
21-2
Programming Examples
Example 1
To calculate the surface area and volume of three regular
octahedrons of the dimensions shown in the table below
Store the calculation formula under the file name OCTA.
A
Length of One Side (A)
Surface Area (S)
Volume (V)
7 cm
cm
2
cm
3
10 cm
cm
2
cm
3
15 cm
cm
2
cm
3
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 is known.
2
S = 2 3 A
2
,
V = –––– A
3
3
When inputting a new formula, you first register the file name and then input the
actual program.
u
u
u
u
u
To register a file name
Example
To register the file name OCTA
• Note that a file name can be up to eight characters long.
1. Display the program list menu and press
3
(NEW) to display a menu, which
contains the following items.
• {
RUN
}
/
{
BASE
} ... {general calculation}/{number base} program input
P.374
• {
Q
Q
Q
Q
Q
} ... {password registration}
• {
SYBL
} ... {symbol menu}
2. Input the name of the file.
OCTA
• The cursor changes form to indicate alpha character input.
• The following are the characters you can use in a file name:
A through Z,
r
,
!
, spaces, [, ], {, }, ’, ”, ~, 0 through 9, ., +, –,
"
,
÷
• Note, however, that
v
and
.
cannot be input for the name of a program
that contains binary, octal, decimal, or hexadecimal calculations.
Summary of Contents for CFX-9970G
Page 22: ... CFX 9970G ...
Page 452: ...435 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 453: ...436 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 454: ...437 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 455: ...438 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 458: ...441 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...