Ch-2-Prob-6-New-황성빈

1898 days ago by matrix

A=matrix(3,3,[-1,1,2,19,-18,-29,2,-2,-3]) b=vector([-3,50,5]) print A.augment(b).rref(A) 
       
[ 1  0  0  3]
[ 0  1  0  2]
[ 0  0  1 -1]
[ 1  0  0  3]
[ 0  1  0  2]
[ 0  0  1 -1]