CH-1-Prob-6-New-박종우

1922 days ago by matrix

 Find the distance between the two points P(7,5,2,1) and Q(2,10,-3,6)

P=vector([7,5,2,1]) Q=vector([2,10,-3,6]) print "P-Q =",(P-Q).norm() 
       
P-Q = 10
P-Q = 10