Casio FX-9750G

User Manual - Page 341

For FX-9750G.

PDF File Manual, 440 pages, Download pdf file

Loading ...
Loading ...
Loading ...
318
The following function key menu appears if you press !Z while inputting a
program that contains binary, octal, decimal, or hexadecimal calculation.
!Z
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.
Surface Area S .. c*!9d* <value of A> xw
Volume V ........... !9c/d* <value of A> Mdw
You could also perform this calculation by assigning the value for the length of one
side to variable A.
Length of One Side A
............ <value of A> aaAw
Surface Area S .. c*!9d*aAxw
Volume V ........... !9c/d*aAMdw
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: ? <variable name>.
^^
^^
^: 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.
!W4(?)aaA6(g)5(:)
c*!9d*aAx
6(g)5(^)
!9c/d*aAMd
!Q or JJ
P.333
123456
19 - 2 Programming Examples
123456
Loading ...
Loading ...
Loading ...