LA+Chapter+4+Ex+10+(2)+solved+by+이승열

1203 days ago by math2013

A=matrix(5,5,[1,0,1,3,5,-1,3,0,7,2,1,0,2,1,8,2,-4,0,0,3,-8,9,2,5,4]) dA=A.det() adjA=A.adjoint() print "inverse of A = (1/dA)*adjA =" print (1/dA)*adjA 
       
inverse of A = (1/dA)*adjA =
[ -18/133   23/133      2/7  -48/133  -29/133]
[  -30/19    13/19        1    -4/19    -4/19]
[ 999/133 -412/133    -27/7 -129/133   80/133]
[ 164/133  -47/133     -5/7   -6/133   13/133]
[-268/133  106/133      8/7   39/133  -18/133]
inverse of A = (1/dA)*adjA =
[ -18/133   23/133      2/7  -48/133  -29/133]
[  -30/19    13/19        1    -4/19    -4/19]
[ 999/133 -412/133    -27/7 -129/133   80/133]
[ 164/133  -47/133     -5/7   -6/133   13/133]
[-268/133  106/133      8/7   39/133  -18/133]