VectorPotential - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


VectorCalculus

  

VectorPotential

  

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

 

Calling Sequence

Parameters

Description

Examples

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 Curl⁡F=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

> 

with⁡VectorCalculus:

> 

SetCoordinates⁡cartesianx,y,z

cartesianx,y,z

(1)
> 

v≔VectorField⁡y,−x,0

v≔ye_x+−xe_y+0e_z

(2)
> 

VectorPotential⁡v

−x⁢ze_x+−y⁢ze_y+0e_z

(3)
> 

ye_x+−xe_y+0e_z

(4)
> 

SetCoordinates⁡cylindricalr,θ,z

cylindricalr,θ,z

(5)
> 

v≔VectorField⁡r,0,−2⁢z

v≔re_r+0e_θ+−2⁢ze_z

(6)
> 

VectorPotential⁡v

0e_r+−r⁢cos⁡θ2⁢z−r⁢sin⁡θ2⁢ze_θ+0e_z

(7)
> 

re_r+0e_θ+−2⁢ze_z

(8)

See Also

VectorCalculus

VectorCalculus[CrossProduct]

VectorCalculus[Curl]

VectorCalculus[ScalarPotential]

VectorCalculus[SetCoordinates]

VectorCalculus[Vector]

VectorCalculus[VectorField]