Casio FX-9750G Quick Start Manual page 337

Hide thumbs Also See for FX-9750G:
Table of Contents

Advertisement

19 - 2
Programming Examples
The following function key menu appears if you press !Z while inputting a
program that contains binary, octal, decimal, or hexadecimal calculation.
Actual program contents are identical to manual calculations. The following shows
how the calculation of the surface area and volume of a regular octahedron would be
calculated using a manual calculation.
You could also perform this calculation by assigning the value for the length of one
side to variable A.
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
^ ^ : This command pauses program execution and displays the last calculation re-
^ ^
^
P.333
• For full details on using these and other commands, see "Useful Program Com-
The following shows examples of how to actually use the ? and ^ commands.
!Z
Surface Area S .. c*!9d* <value of A> xw
Volume V ........... !9c/d* <value of A> Mdw
Length of One Side A
............ <value of A> aaAw
Surface Area S .. c*!9d*aAxw
Volume V ........... !9c/d*aAMdw
prompt for input of a value to assign to a variable. The syntax for this command
is: ? # <variable name>.
sult obtained or text. It is similar to pressing w in a manual calculation.
mands".
!W4(?)aaA6(g)5(:)
c*!9d*aAx
6(g)5(^)
!9c/d*aAMd
!Q or JJ
1 2 3 4
5 6
1 2 3
4 5 6
318

Advertisement

Table of Contents
loading

Table of Contents