Student[VectorCalculus][diff] - compute the derivative of a Vector-valued function
|
Calling Sequence
|
|
diff(f, v)
|
|
Parameters
|
|
f
|
-
|
Vector or algebraic expression
|
v
|
-
|
name or name, name, ...; specify the variables of differentiation
|
|
|
|
|
Description
|
|
•
|
The diff(f, v) calling sequence is an extension of the top-level diff that performs coordinate-wise differentiation on Vectors (including vector fields), in the coordinate systems of the Student[VectorCalculus] package. If f is not a Vector, the arguments are passed to the top-level diff command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
*cos(theta)^2*sin(phi)+a*r*cos(phi)*sin(theta)^2*sin(phi)-a*r*sin(phi)*cos(phi)], [a*r*cos(phi)^2*cos(theta)^2+a*r*cos(phi)^2*sin(theta)^2+a*r*sin(phi)^2], [0]], ["r", "phi", "theta"], "field")](/support/helpjp/helpview.aspx?si=4460/file05193/math100.png)
| (5) |
>
|
|
| (6) |
|
|