20050401
8-6 Using Calculator Functions in Programs
k
Text Display
You can include text in a program by simply enclosing it between double quotation marks.
Such text appears on the display during program execution, which means you can add
labels to input prompts and results.
Program
Display
”CASIO”
CASIO
?
→
X
?
”X =” ?
→
X
X = ?
• If the text is followed by a calculation formula, be sure to insert a display command (
^
)
between the text and calculation.
• Inputting more than 21 characters causes the text to move down to the next line. The
screen scrolls automatically if the text exceeds 21 characters.
• You can specify up to 255 bytes of text for a comment.
k
Using Matrix Row Operations in a Program
These commands let you manipulate the rows of a matrix in a program.
• For this program, enter the
RUN
•
MAT
mode and then use the Matrix Editor to input the
matrix, and then enter the
PRGM
mode to input the program.
u
To swap the contents of two rows (Swap)
○ ○ ○ ○ ○
Example 1
To swap the values of Row 2 and Row 3 in the following matrix:
1
2
Matrix A =
3
4
5
6
The following is the syntax to use for this program.
Swap A, 2, 3
_
Mat A
Executing this program produces the following result.
8-6-1
Using Calculator Functions in Programs
Rows to be swapped
Matrix name
Summary of Contents for fx-9860G AU PLUS
Page 1: ...fx 9860G AU User s Guide E http edu casio com ...
Page 2: ...Important Please keep your manual and all information handy for future reference ...
Page 27: ...20050401 1 1 Keys 1 1 1 Keys ...
Page 335: ...20050401 u u u u u Input Example u u u u u Results 6 5 25 Tests ...
Page 361: ...20050401 Calculation Result Output Example p F distribution probability 6 7 15 Distribution ...
Page 435: ...20050401 8 8 2 Program Library egcw w ww w ...
Page 437: ...20050401 8 8 4 Program Library Example 1 Example 2 fw baw bf w fw baw ca w ...
Page 439: ...20050401 8 8 6 Program Library wba wb w w d ...
Page 441: ...20050401 8 8 8 Program Library dw fcde wfcde wfcde fcde w daw w 20070101 ...
Page 443: ...20050401 8 8 10 Program Library b awaw bwaw aw x d w ...
Page 590: ...CASIO COMPUTER CO LTD 6 2 Hon machi 1 chome Shibuya ku Tokyo 151 8543 Japan SA0701 E ...