For example, let the plane's equation is 2*x+3*y+4*z=5, and the line
is given as <x,y,z>=<t-1,2*t-3,2-t>. Then the point of their
intersection can be found in Sage as follows,

var('t');
x,y,z=t-1,2*t-3,2-t
plane=2*x+3*y+4*z-5
a=solve(plane,t)[0]
[i.subs(a) for i in x,y,z]

                [1, 1, 0]

Alec

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to