VectorPotential - Maple Help

VectorCalculus

 VectorPotential
 compute a vector potential of a vector field in R^3

 Calling Sequence VectorPotential(v)

Parameters

 v - vector field or Vector valued procedure; specify the components of the vector field in R^3

Description

 • The VectorPotential(v) command computes a vector potential of the vector field v.  The result is a vector field F such that $\mathrm{Curl}\left(F\right)=v$.  If a vector potential does not exist, NULL is returned.
 • If v is a vector field, a vector field is returned.  If v is a procedure, a procedure is returned.

Examples

 > $\mathrm{with}\left(\mathrm{VectorCalculus}\right):$
 > $\mathrm{SetCoordinates}\left({'\mathrm{cartesian}'}_{x,y,z}\right)$
 ${{\mathrm{cartesian}}}_{{x}{,}{y}{,}{z}}$ (1)
 > $v≔\mathrm{VectorField}\left(⟨y,-x,0⟩\right)$
 > $\mathrm{VectorPotential}\left(v\right)$
 > 
 > $\mathrm{SetCoordinates}\left({'\mathrm{cylindrical}'}_{r,\mathrm{θ},z}\right)$
 ${{\mathrm{cylindrical}}}_{{r}{,}{\mathrm{\theta }}{,}{z}}$ (2)
 > $v≔\mathrm{VectorField}\left(⟨r,0,-2z⟩\right)$
 > $\mathrm{VectorPotential}\left(v\right)$
 >