Linear Algebra Lkhagva

590 days ago by mathmodel2017

A=matrix(4, 4, [1, -4, 2, 8, 0, 1, -5, 7, 0, 0, 1, 3, 0, 0, 0, 1]) B=matrix(3, 4, [6, 1, 8, -1, 7, 2, 7, 4, 0, 1, 0, -3]) print A.rref() print B.rref() 
       
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
[    1     0     0  33/7]
[    0     1     0    -3]
[    0     0     1 -23/7]
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
[    1     0     0  33/7]
[    0     1     0    -3]
[    0     0     1 -23/7]
html(' $A=%s$ and $B=%s$' %(latex(A),latex(B)) ) 
       
    and 
    and 
html(' $A^{-1}=%s$ ' %(latex(A^(-1))) )