ScalarPotential - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

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

ScalarPotentialv

x22+y22+z22

(2)

vVectorFieldy,x,0

ScalarPotentialv

ScalarPotentialx,y,zx,y,zx2+y2+z2

x,y,zlnx2+y2+z22

(3)

SetCoordinatessphericalr,φ,θ

sphericalr,φ,θ

(4)

vVectorFieldr,0,0

ScalarPotentialv

r22

(5)

Gradient

See Also

VectorCalculus

VectorCalculus[Gradient]

VectorCalculus[SetCoordinates]

VectorCalculus[Vector]

VectorCalculus[VectorField]

VectorCalculus[VectorPotential]