beautypg.com

2 programming examples – Casio fx-9750G PLUS User Manual

Page 381

background image

353

20-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.360

• {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.

This manual is related to the following products: