Ask Your Question

dan6252's profile - activity

2015-03-16 03:18:46 +0100 asked a question create new vector

hi i'm new in sage , I have two vectors

v1=vector([8,-10,12])
v2=vector([9,4,-6])

i want to create a third one which is parallel with v1 and also the scalar product of v2 and v3 is equal to 1440

(x,y,z)=var('x,y,z')
v3=vector([x,y,z])

solve([v1.dot_product(v3)==1440,v2.cross_product(v3)==0],x,y,z)

i want to get something like this: [x= , y= , z= ]
but the result: []

2015-03-16 03:15:30 +0100 asked a question define new vector

hi i'm new in sage , I have two vectors

v1=vector([8,-10,12])
v2=vector([9,4,-6])

i want to create a third one which is parallel with v1 and also the scalar product of v2 and v3 is equal to 1440

(x,y,z)=var('x,y,z')
v3=vector([x,y,z])

solve([v1.dot_product(v3)==1440,v2.cross_product(v3)==0],x,y,z)

i want to get something like this: [x= , y= , z= ]
but the result: []