|
|
|||
|
|
| Mathematica Tutorial | Functions »|Tutorials » |
| <<VectorAnalysis` | load the vector analysis package |
| SetCoordinates[system[names]] | specify the coordinate system to be used (Cartesian, Cylindrical, Spherical, etc.), giving the names of the coordinates in that system |
| Grad[f] | evaluate the gradient |
| Div[f] | evaluate the divergence |
| Curl[f] | evaluate the curl |
| Laplacian[f] | evaluate the Laplacian |
This loads the vector analysis package. In some versions of Mathematica, you may not need to load the package explicitly.
|
This specifies that a spherical coordinate system with coordinate names r, theta and phi should be used.
|
|
| <<VariationalMethods` | |
| load the variational methods package | |
| VariationalD[f,y[x],x] | find the variational derivative of f |
|
|
| <<Quaternions` | load the quaternions package |
| Quaternion[a,b,c,d] | the quaternion a+bi+cj+dk |
|
|
| © 2013 Wolfram Research, Inc. |