Along a Polygonal Line - Maple Help

Line Integral along a Polygonal Line in 3-D

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

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 vertices of the polygonal line, and then calculate the line integral of the vector field.

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