Ch-1-Prob-8-New-박종우

1922 days ago by matrix

 
       

 Find a vector equation of the line between the two points

           and .

var('x,y,z') var('t') P = vector([5,0,1]) Q = vector([0,2,6]) R= Q-P print "vector equation= ", P+R*t 
       
vector equation=  (-5*t + 5, 2*t, 5*t + 1)
vector equation=  (-5*t + 5, 2*t, 5*t + 1)

점P (7,-1,4,5) 와  Q (8,-1,-4,-8)  사이의 벡터 방정식을 구해보겠습니다.

var('x,y,z,h') var('t') P = vector([5,0,1,0]) Q = vector([0,2,6,5]) R= Q-P print "vector equation= ", P+R*t 
       
vector equation=  (-5*t + 5, 2*t, 5*t + 1, 5*t)
vector equation=  (-5*t + 5, 2*t, 5*t + 1, 5*t)