VectorAnalysis`
VectorAnalysis`
Grad
As of Version 9.0, vector analysis functionality is built into the Wolfram Language »
Grad[f]
gives the gradient, , of the scalar function f in the default coordinate system.
Grad[f,coordsys]
gives the gradient of f in the coordinate system coordsys.
Details and Options
- To use Grad, you first need to load the Vector Analysis Package using Needs["VectorAnalysis`"].
Examples
Basic Examples (1)
Gradient of a function in Cartesian coordinates:
Recover the original function using DSolve: