Overview of the VectorCalculus Package
Basic Functionality
Interfaces to the VectorCalculus Package
Essential VectorCalculus Package Commands
Examples
Details
Description
The VectorCalculus package is a collection of commands that perform multivariate and vector calculus operations.
Multivariate calculus refers to the calculus of functions from Rn to R. Vector calculus refers to the calculus of functions from Rn to Rm, where 1<m.
The VectorCalculus package contains a large set of predefined coordinate systems. All computations in the package can be performed in any of these coordinate systems. By default, the Cartesian coordinate system is used. The basic objects on which the commands in the VectorCalculus package operate are Vectors, vector fields, and scalar functions.
For a complete list of the routines in the VectorCalculus package and advanced information on the capabilities of this package, see the Details of the VectorCalculus package help page.
Commands
Each command in the VectorCalculus package can be accessed by using either the long form or the short form of the command name in the command calling sequence. For more information, see the Using Packages help page.
Long form
VectorCalculus:-CrossProduct(<a, b, c>, <d, e, f>);
Short form
with(VectorCalculus):
CrossProduct(<a, b, c>, <d, e, f>);
Tasks
Some routines in the VectorCalculus package come with a task template to step you through the process of solving a vector calculus problem. For more information, see the Using Tasks help page.
Student:-VectorCalculus Package
For students learning the concepts presented in an introductory vector calculus course, see the Student:-VectorCalculus help page.
About
returns information about a VectorCalculus object
CrossProduct
computes the cross product of Vectors and differential operators
Curl
compute the curl of a vector field in R^3
DirectionalDiff
computes the directional derivative of a scalar field in the direction given by a vector
evalVF
evaluate a vector field at a point
Flux
compute the flux of a vector field through a surface in R^3 or a curve in R^2
Laplacian
compute the Laplacian of functions from R^n to R, or of a vector field
LineInt
compute the line integral of a vector field in R^n
MapToBasis
converts Vectors and vector fields
Nabla
Vector differential operator
PlotPositionVector
plots a curve or surface
PositionVector
creates a position Vector with specified components
RadiusOfCurvature
compute the radius of curvature of a curve
RootedVector
creates a Vector rooted at a point with specified components
SetCoordinates
set the coordinate attribute on a free Vector
Torsion
compute the torsion of a curve in R^3
Vector
creates a free Vector with specified components
VectorField
creates a vector field
with⁡VectorCalculus:
Compute the cross product.
CrossProduct⁡a,b,c,d,e,f
Compute the radius of curvature.
RadiusOfCurvature⁡2⁢cos⁡t,sin⁡tassumingt::real
2⁢5−3⁢cos⁡2⁢t328
Integrate a function over R^2.
int⁡x2+y2,x,y=Circle⁡0,0,r
π⁢r42
Change the coordinate system to cylindrical.
SetCoordinates⁡cylindricalr,θ,z
cylindricalr,θ,z
Define a vector field.
F≔VectorField⁡r3,zθ,sqrt⁡r
Compute the flux of a vector field through a specified surface.
Flux⁡F,Sphere⁡0,0,0,R
32⁢R5⁢π15
Compute the Laplacian of a vector field.
simplify⁡Laplacian⁡F
For more information including:
a complete list of the routines in the VectorCalculus package, see the Details of the VectorCalculus Package help page.
a complete list of the supported coordinate systems, see the coords help page.
See Also
examples/VectorCalculus
LinearAlgebra
Download Help Document