Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Student[VectorCalculus][Divergence] - compute the divergence of a vector field
Calling Sequence
Divergence(F)
Divergence(c)
Parameters
F
-
(optional) vector field or Vector-valued procedure; specify the components of the vector field
c
(optional) specify the coordinate system
Description
The Divergence(F) calling sequence computes the divergence of the vector field . This calling sequence is equivalent to and DotProduct(Del, F).
If is a Vector-valued procedure, the default coordinate system is used. The default coordinate system must be indexed by the coordinate names.
Otherwise, must be a Vector with the vectorfield attribute set, and it must have a coordinate system attribute that is indexed by the coordinate names.
If is a procedure, the returned object is a procedure. Otherwise, the returned object is an expression.
The Divergence(c) calling sequence returns the differential form of the divergence operator in the coordinate system specified by , which can be given as:
* an indexed name, e.g.,
* a name, e.g., spherical; default coordinate names will be used
* a list of names, e.g., ; the current coordinate system will be used, with these as the coordinate names
The Divergence() calling sequence returns the differential form of the divergence operator in the current coordinate system. For more information, see SetCoordinates.
Examples
To create a vector field, use the Student[VectorCalculus][VectorField] command.
To display the differential form of the divergence operator:
To display the divergence of an arbitrary vector-valued function (r,theta) -> <f(r,theta),g(r,theta)> in the polar coordinate system:
See Also
Student[VectorCalculus], Student[VectorCalculus][Curl], Student[VectorCalculus][Del], Student[VectorCalculus][DotProduct], Student[VectorCalculus][Laplacian], Student[VectorCalculus][Nabla], Student[VectorCalculus][SetCoordinates], Student[VectorCalculus][Vector], Student[VectorCalculus][VectorField]
Download Help Document