
Using Calculator Functions in Programs
uTo add two rows (Row+)
Example 4 To add Row 2 to Row 3 of the matrix in Example 1
The following is the syntax to use for this program.
Row+ A, 2, 3_
the row number to be added to the row number to be added Matrix name
Mat A
Executing this program produces the following result.
kUsing Graph Functions in a ProgramYou can incorporate graph functions into a program to draw complex graphs and to overlay graphs on top of each other. The following shows various types of syntax you need to use when programming with graph functions.
• View Window
View Window
• Graph function input |
|
|
|
Y = Type_ .................... | Specifies graph type. |
|
|
”X2 – 3” → Y1_ |
|
|
|
• Graph draw operation |
|
|
|
DrawGraph_ |
|
|
|
Example Program |
|
|
|
1ClrGraph_ |
| 1 | !J612J |
2View Window | 2 | !31J | |
3Y = Type_ |
| 3 | 4431 |
4J41JJ | |||
| 4 |
|
|
5G SelOn 1_ |
| 5 | 4411J |
6BrokenThickG 1_ |
| 6 | 43 |
7DrawGraph |
| 7 | !J622 |
Executing this program produces the result shown here.
20050401