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

Online Help

All Products    Maple    MapleSim


Student[VectorCalculus]

  

ScalarPotential

  

compute the scalar potential of a vector field

 

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) calling sequence 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.

Examples

> 

with⁡StudentVectorCalculus:

> 

v≔VectorField⁡x,y,z

v≔xe_x+ye_y+ze_z

(1)
> 

ScalarPotential⁡v

x22+y22+z22

(2)
> 

Gradient⁡

xe_x+ye_y+ze_z

(3)
> 

v≔VectorField⁡y,−x,0

v≔ye_x+−xe_y+0e_z

(4)
> 

ScalarPotential⁡v

> 

den≔x2+y2+z2

den≔x2+y2+z2

(5)
> 

ScalarPotential⁡x,y,z↦x,y,zden

x,y,z↦ln⁡x2+y2+z22

(6)
> 

SetCoordinates⁡sphericalr,φ,θ

sphericalr,φ,θ

(7)
> 

v≔VectorField⁡r,0,0

v≔re_r+0e_φ+0e_θ

(8)
> 

ScalarPotential⁡v

r22

(9)

See Also

Student[VectorCalculus]

Student[VectorCalculus][Gradient]

Student[VectorCalculus][SetCoordinates]

Student[VectorCalculus][Vector]

Student[VectorCalculus][VectorField]

Student[VectorCalculus][VectorPotential]