Untitled

2315 days ago by seongchan

A=matrix([[2,1,1,-2],[3,-2,1,-6],[1,1,-1,-1], [5,-1,2,-8]]) b=vector([1,-2,-1,3]) print A.augment(b).rref() 
       
[     1      0      0 -17/11      0]
[     0      1      0   9/11      0]
[     0      0      1   3/11      0]
[     0      0      0      0      1]
[     1      0      0 -17/11      0]
[     0      1      0   9/11      0]
[     0      0      1   3/11      0]
[     0      0      0      0      1]