Ch-1.3-Prob-9-New-박종우

1898 days ago by matrix

n=vector([0,3,-1]) t=n.norm() print "normal vector=" print n/t 
       
normal vector=
(0, 3/10*sqrt(10), -1/10*sqrt(10))
normal vector=
(0, 3/10*sqrt(10), -1/10*sqrt(10))