ScalarPotential - Maple Help

Online Help

All Products    Maple    MapleSim


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:

SetCoordinatescartesianx,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,zx,y,zx2+y2+z2

x,y,zlnx2+y2+z22

(5)

SetCoordinatessphericalr,φ,θ

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]