VectorCalculus - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Vector Calculus : VectorCalculus/ScalarPotential

VectorCalculus

  

ScalarPotential

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ScalarPotential(v)

Parameters

v

-

vector field or Vector valued procedure; specify the components of the vector field

Description

• 

The ScalarPotential(v) command computes the scalar potential of the vector field v.  This is a function f such that Gradientf=v.  If a scalar potential does not exist, NULL is returned.

• 

If v is a Vector field, an algebraic expression is returned. If v is a Vector-valued procedure, a procedure is returned.

Examples

withVectorCalculus:

SetCoordinates'cartesian'x,y,z

cartesianx,y,z

(1)

vVectorFieldx,y,z

vxe_x+ye_y+ze_z

(2)

ScalarPotentialv

x22+y22+z22

(3)

vVectorFieldy,x,0

vye_x+xe_y+0e_z

(4)

ScalarPotentialv

ScalarPotentialx,y,z→x,y,zx2+y2+z2

x,y,zlnx2+y2+z22

(5)

SetCoordinates'spherical'r,φ,θ

sphericalr,φ,θ

(6)

vVectorFieldr,0,0

vre_r+0e_φ+0e_θ

(7)

ScalarPotentialv

r22

(8)

Gradient

re_r+0e_φ+0e_θ

(9)

See Also

VectorCalculus

VectorCalculus[Gradient]

VectorCalculus[SetCoordinates]

VectorCalculus[Vector]

VectorCalculus[VectorField]

VectorCalculus[VectorPotential]