Ch-2-Prob-3-Final-황성빈

1900 days ago by matrix

A=matrix(3, 5, [17, -17, 17, -187, -68, 0, 2, 4, -6, -6, 0, 0, 0, -3, 0]) b=matrix(3, 1, [51, 12, 3]) print A.augment(b).rref() 
       
[ 1  0  3  0 -7 -5]
[ 0  1  2  0 -3  3]
[ 0  0  0  1  0 -1]
[ 1  0  3  0 -7 -5]
[ 0  1  2  0 -3  3]
[ 0  0  0  1  0 -1]