Ch-4.3-exam-1-Final-이승진

1911 days ago by matrix

A = matrix(4,4,[2,3,-7,-1,3,-7,5,6,11,-4,-6,-1,5,3,1,2]); A1 = matrix(4,4,[-3,3,-7,-1,7,-7,5,6,0,-4,-6,-1,11,3,1,2]); A2 = matrix(4,4,[2,-3,-7,-1,3,7,5,6,11,0,-6,-1,5,11,1,2]); A3 = matrix(4,4,[2,3,-3,-1,3,-7,7,6,11,-4,0,-1,5,3,11,2]); A4 = matrix(4,4,[2,3,-7,-3,3,-7,5,7,11,-4,-6,0,5,3,1,11]); print "det(A)=" ,A.det() print "det(A_1)=" ,A1.det()," " , "x_1 =", A1.det()/A.det() print "det(A_2)=" ,A2.det()," " , "x_2 =", A2.det()/A.det() print "det(A_3)=" ,A3.det()," " , "x_3 =", A3.det()/A.det() print "det(A_4)=" ,A4.det()," " , "x_4 =", A4.det()/A.det() 
       
det(A)= -2712
det(A_1)= -2712     x_1 = 1
det(A_2)= -2712     x_2 = 1
det(A_3)= -2712     x_3 = 1
det(A_4)= -2712     x_4 = 1
det(A)= -2712
det(A_1)= -2712     x_1 = 1
det(A_2)= -2712     x_2 = 1
det(A_3)= -2712     x_3 = 1
det(A_4)= -2712     x_4 = 1