LA Ch4 Exs Prob 5 by 김지윤

318 days ago by jykim

A=matrix(3,3,[0,7,1,0,-8,0,0,2,4]) B=matrix(3,3,[64,7,1,0,-4,0,0,2,0]) C=matrix(3,3,[8^3,7,1,0,0,0,0,2,-4]) D=matrix(3,3,[27,7,1,0,-5,0,0,3,0]) E=matrix(3,3,[27,7,1,0,-5,0,0,2,2]) print "When x=0 and y=2, det(A)=", A.det() print "When x=4 and y=2, det(A)=", B.det() print "When x=8 and y=2, det(A)=", C.det() print "When x=3 and y=3, det(A)=", D.det() print "When x=3 and y=2, det(A)=", E.det() 
       
When x=0 and y=2, det(A)= 0
When x=4 and y=2, det(A)= 0
When x=8 and y=2, det(A)= 0
When x=3 and y=3, det(A)= 0
When x=3 and y=2, det(A)= -270
When x=0 and y=2, det(A)= 0
When x=4 and y=2, det(A)= 0
When x=8 and y=2, det(A)= 0
When x=3 and y=3, det(A)= 0
When x=3 and y=2, det(A)= -270