LA Ch4 Exs Prob P6 by 김지윤

320 days ago by jykim

A=matrix(4, 4, [1, 1, 1, 1, 16, 8, 4, 2, 81, 27, 9, 3, 625, 125, 25, 5]) b=vector([-8, -6, 12, 60]) print "det(A)=", A.det() print "x=", A.solve_right(b) 
       
det(A)= 1440
x= (-1/2, 4, -7/2, -8)
det(A)= 1440
x= (-1/2, 4, -7/2, -8)