DOCUMENTATION CENTER SEARCH
Coordinate Systems
>
Vector Analysis
Package Symbol
Vector Analysis Package
Tutorials »
|
Curl
Grad
Laplacian
Biharmonic
See Also »
|
Vector Analysis Package
More About »
Div
Div[
f
]
gives the divergence,
f
, of the vector field
f
in the default coordinate system.
Div[
f
,
coordsys
]
gives the divergence of
f
in the coordinate system
coordsys
.
MORE INFORMATION
To use
Div
, you first need to load the
Vector Analysis Package
using
Needs
["VectorAnalysis`"]
.
The vector field
f
should be a 3-element list where each element is a function of the coordinates of the appropriate coordinate system.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Needs["VectorAnalysis`"]
Compute the divergence of a vector field:
In[2]:=
In[3]:=
Out[3]=
Verify that the divergence of the curl of a vector field is 0:
In[4]:=
In[5]:=
Out[5]=
SEE ALSO
Curl
Grad
Laplacian
Biharmonic
TUTORIALS
Vector Analysis Package
MORE ABOUT
Vector Analysis Package
© 2008 Wolfram Research, Inc.