Ch-4-Prob-13-New-박종우

1904 days ago by matrix

x1=matrix(2,1,[9,1]) x2=matrix(2,1,[2,3]) A=x1.augment(x2) a=A.det() print "area=", a.abs() 
       
area= 25
area= 25
x1=matrix(3,1,[-8,-4,-1]) x2=matrix(3,1,[9,4,1]) x3=matrix(3,1,[5,11,3]) A=x1.augment(x2).augment(x3) a=A.det() print "volume=", a.abs() 
       
volume= 1
volume= 1