beautypg.com

13 using calculator functions in programs – Casio fx-9750G PLUS User Manual

Page 417

background image

389

20-13 Using Calculator Functions in Programs

k

k

k

k

k

Using Matrix Row Operations in a Program

P.80

These commands let you manipulate the rows of a matrix in a program.

• For this type of program, be sure to use the

MAT Mode to input the matrix, and

then switch to the

PRGM Mode to input the program.

u

u

u

u

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

Matrix name

Executing this program produces the following result.

(MAT Mode)

u

u

u

u

u

To calculate a scalar multiplication (`

`

`

`

`

Row)

Example 2 To calculate the product of Row 2 of the matrix in Example 1 and

the scalar 4

The following is the syntax to use for this program.

`

Row 4, A, 2

Matrix name

Multiplier

Executing this program produces the following result.

(MAT Mode)

This manual is related to the following products: