VectorCalculus
ScalarPotential
Calling Sequence
Parameters
Description
Examples
ScalarPotential(v)
v
-
vector field or Vector valued procedure; specify the components of the vector field
The ScalarPotential(v) command computes the scalar potential of the vector field v. This is a function f such that Gradient⁡f=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.
with⁡VectorCalculus:
SetCoordinates⁡cartesianx,y,z
cartesianx,y,z
v≔VectorField⁡x,y,z
ScalarPotential⁡v
x22+y22+z22
v≔VectorField⁡y,−x,0
ScalarPotential⁡x,y,z↦x,y,zx2+y2+z2
x,y,z↦ln⁡x2+y2+z22
SetCoordinates⁡sphericalr,φ,θ
sphericalr,φ,θ
v≔VectorField⁡r,0,0
r22
Gradient⁡
See Also
VectorCalculus[Gradient]
VectorCalculus[SetCoordinates]
VectorCalculus[Vector]
VectorCalculus[VectorField]
VectorCalculus[VectorPotential]
Download Help Document