Write the equation of the line passing through the point A(2, 2, -5), parallel to the plane (P): 2x +3y -z - 17 = 0 and cut the line Delta: x = -2 +3*t, y = 4-t, z = 5 + 2*t.
1) First code.
restart:
with(geom3d):
point(A,2,2,-5):
line(Delta,[-2+3*t,4-t,5+2*t],t):
plane(P,2*x+3*y-z-17=0,[x,y,z]):
parallel(Q,A,P):
Equation(Q):
coordinates(intersection(B,Delta,Q)):
Equation(line(AB,[A,B],t));