beautypg.com

Chapter 8 programming – Casio fx-7400G PLUS Programming User Manual

Page 6

background image

130

Chapter 8

Programming

Surface Area S ... c*!9d*aAxw

Volume V ............ !9c/d*aA

Mdw

If you simply input the manual calculations shown above however, the calculator
would execute them from beginning to end, without stopping. The following com-
mands make it possible to interrupt a calculation for input of values and display of
intermediate results.

? : This command pauses program execution and displays a question mark as a

prompt for input of a value to assign to a variable. The syntax for this command
is: ?

.

^

^

^

^

^: This command pauses program execution and displays the last calculation re-

sult obtained or text. It is similar to pressing w in a manual calculation.

• For full details on using these and other commands, see “Useful Program Com-

mands”.

The following shows examples of how to actually use the ? and

^ commands.

!W[1(?)aaA[3(:)
c*

!9d*aAx

[[2(^)

!9c/d*aAMd

QQ

u

uu

u

uTo run a program

1. While the program list is on the display, use

f and c to highlight the name of

the program you want to run.

2. Press 1 (EXE) or w to run the program.

Let’s try running the program we input above.

Length of One Side (A)

Surface Area (S)

Volume (V)

7 cm

169.7409791 cm

2

161.6917506 cm

3

10 cm

346.4101615 cm

2

471.4045208 cm

3

15 cm

779.4228634 cm

2

1590.990258 cm

3

P.139

1

2

3

4

This manual is related to the following products: