Line Integral along a Polygonal Line in 2-D - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Tasks : Calculus - Vector : Integration : Line Integrals : In 2-D : Task/LineIntegral2DPolygonalLine

Line Integral along a Polygonal Line in 2-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}\right]\right):$

Define the vector field.

 > $\mathrm{VectorCalculus}\left[\mathrm{VectorField}\right]\left(⟨{{x}}^{{2}}{,}{{y}}^{{2}}⟩\right)$
 $\left({{x}}^{{2}}\right){\stackrel{{_}}{{e}}}_{{x}}{+}\left({{y}}^{{2}}\right){\stackrel{{_}}{{e}}}_{{y}}$ (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}{,}{4}⟩{,}⟨{7}{,}{5}⟩{,}⟨{9}{,}{6}⟩\right)\right)$
 ${312}$ (2)
 Commands Used
 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam