ch-3.3-exam-4-New-박종우

1918 days ago by matrix

A=matrix(QQ, 3, 3, [2,2,1,-3,4,1,-4,7,2]) I=identity_matrix(3) Aug=A.augment(I).echelon_form() # augmented matrix [A : I] echelon_form print Aug 
       
[  1   0   0   1   3  -2]
[  0   1   0   2   8  -5]
[  0   0   1  -5 -22  14]
[  1   0   0   1   3  -2]
[  0   1   0   2   8  -5]
[  0   0   1  -5 -22  14]