Example 1. Use the
Gauss-Jordan elimination method to solve the linear
system
.
Solution 1.
Use the menu "Input" then submenu "Create Table/Matrix/Palette" to enter matrices A and M and vector B.
First form the augmented matrix
.
Then perform Gauss-Jordan elimination.
Verify the solution.
We are done.
Aside. We can compare
our answer with the answer obtained by using Mathematica's
built in RowReduce procedure.
This agrees with our answer that was obtained with our subroutine GaussJordan[M,3].
(c) John H. Mathews 2004