Equation of the Line through Two Points in 3-D - Maple Programming Help

Equation of the Line through Two Points in 3-D

 Description Compute the equation of the line through two points in three-dimensional space.

Specify the first point.

 > $\mathrm{geom3d}\left[\mathrm{point}\right]\left(a,{1}{,}{-}{2}{,}{4}\right)$
 ${a}$ (1)

Specify the second point.

 > $\mathrm{geom3d}\left[\mathrm{point}\right]\left(b,{-}{1}{,}{3}{,}{0}\right)$
 ${b}$ (2)

Define the line using the two points.

 > $\mathrm{geom3d}\left[\mathrm{line}\right]\left(l,\left[a,b\right]\right)$
 ${l}$ (3)

Compute the equation of the line.

 > $\mathrm{geom3d}\left[\mathrm{Equation}\right]\left(l,t\right)$
 $\left[{1}{-}{2}{}{t}{,}{-}{2}{+}{5}{}{t}{,}{4}{-}{4}{}{t}\right]$ (4)
 Commands Used