8-6-3

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 Program

You 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 –5, 5, 1, –5, 5, 1_

 

 

• Graph function input

 

 

Y = Type_ ................... Specifies graph type.

 

 

”X2 – 3” Y1_

 

 

• Graph draw operation

 

 

DrawGraph_

 

 

Example Program

 

 

1ClrGraph_

1

!J612J

2View Window –10, 10, 2, –120, 150, 50_

2

!31J

3Y = Type_

3

4431

”X^4–X^3–24X2+ 4X + 80” @Y1_

4 J41JJ

4

 

 

5G SelOn 1_

5

4411J

6BrokenThickG 1_

6

43

7DrawGraph

7

!J622

Executing this program produces the result shown here.

20070201