diff - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[VectorCalculus]

  

diff

  

compute the derivative of a Vector-valued function

 

Calling Sequence

Parameters

Description

Examples

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

> 

with⁡StudentVectorCalculus:

> 

diff⁡t,t2,t3,t

1ex+2⁢tey+3⁢t2ez

(1)
> 

diff⁡cos⁡s⁢t,sin⁡s⁢t,s,t

−sin⁡s⁢t−t⁢s⁢cos⁡s⁢tex+cos⁡s⁢t−t⁢s⁢sin⁡s⁢tey

(2)
> 

SetCoordinates⁡sphericalr,φ,θ

sphericalr,φ,θ

(3)
> 

F≔VectorField⁡a⁢r,0,0

F≔a⁢re_r+0e_φ+0e_θ

(4)
> 

diff⁡F,φ

a⁢r⁢cos⁡φ⁢cos⁡θ2⁢sin⁡φ+a⁢r⁢cos⁡φ⁢sin⁡θ2⁢sin⁡φ−a⁢r⁢sin⁡φ⁢cos⁡φe_r+a⁢r⁢cos⁡φ2⁢cos⁡θ2+a⁢r⁢cos⁡φ2⁢sin⁡θ2+a⁢r⁢sin⁡φ2e_φ+0e_θ

(5)
> 

diff⁡F,a

re_r+0e_φ+0e_θ

(6)

See Also

diff

Student[VectorCalculus]

Student[VectorCalculus][Curl]

Student[VectorCalculus][Divergence]

Student[VectorCalculus][int]

Student[VectorCalculus][Laplacian]

Student[VectorCalculus][limit]

Student[VectorCalculus][series]

Student[VectorCalculus][Vector]

Student[VectorCalculus][VectorField]