Along a Line Segment - Maple Help

Line Integral along a Line Segment in 3-D

 Description Calculate the line integral of F.dr along a line segment.

Define the coordinates.

 > $\mathrm{VectorCalculus}\left[\mathrm{SetCoordinates}\right]\left({\mathrm{cartesian}}\left[{x}{,}{y}{,}{z}\right]\right):$

Define the vector field.

 > $\mathrm{VectorCalculus}\left[\mathrm{VectorField}\right]\left(⟨{{x}}^{{2}}{,}{{y}}^{{2}}{,}{{z}}^{{2}}⟩\right)$
 $\left({{x}}^{{2}}\right){\stackrel{{_}}{{e}}}_{{x}}{+}\left({{y}}^{{2}}\right){\stackrel{{_}}{{e}}}_{{y}}{+}\left({{z}}^{{2}}\right){\stackrel{{_}}{{e}}}_{{z}}$ (1)

Specify the endpoints of the line, and then calculate the line integral of the vector field.

 > $\mathrm{VectorCalculus}\left[\mathrm{LineInt}\right]\left(,\mathrm{Line}\left(⟨{1}{,}{2}{,}{3}⟩{,}⟨{4}{,}{5}{,}{0}⟩\right)\right)$
 ${51}$ (2)
 > 
 Commands Used