Example: Matrix Products
The example below demonstrates how to use the Matrix Products program.
Example
Multiply the following matrices.
Procedure |
Press |
Display |
---|---|---|
|
||
Select the program. | [ RUN ] { MTH } { --> } { MAT } { A*B } { NEW } |
|
Enter the number of rows in matrix A | 3 { rA } | |
Enter the number of columns in matrix A | 3 { cA } | |
Enter the number of columns in matrix B | 2 { cB } | |
Proceed with program | { EOD } | |
Enter the A matrix | 12 { ENT } | |
9 { ENT } | ||
12 { ENT } | ||
3 { ENT } | ||
10 { ENT } | ||
3 { ENT } | ||
4 { ENT } | ||
7 { ENT } | ||
5 { ENT } | ||
Proceed with program | { EOD } | |
Enter the first column of matrix B | 3 { ENT } | |
4 { ENT } | ||
4 { ENT } | ||
Proceed with program | { NO } | |
View the first column of matrix C | { NXT } | |
{ NXT } | ||
{ NXT } | ||
Enter the second column of matrix B | { NXT } 8 { ENT } |
|
9 { ENT } | ||
8 { ENT } | ||
Proceed with program | { NO } | |
{ NXT } | ||
{ NXT } | ||
{ NXT } | ||
Reuse matrix A | { NXT } { OLD } | |
Enter the number of columns in matrix B | 1 { cB } | |
Proceed with program | { EOD } | |
Enter the first column of matrix B | 5 { ENT } | |
4 { ENT } | ||
4 { ENT } | ||
Proceed with program | { NO } | |
View matrix C | { NXT } | |
{ NXT } | ||
{ NXT } |
The two resulting C matrices are:
☚ Back