Alternatively, use function DERIV as follows:

Divergence

The divergence of a vector function, F(x,y,z) = f(x,y,z)i +g(x,y,z)j +h(x,y,z)k, is defined by taking a “dot-product” of the del operator with the function, i.e., divF = ∇ • F . Function DIV can be used to calculate the divergence of a vector field. For example, for F(X,Y,Z) = [XY,X2+Y2+Z2,YZ], the divergence is calculated, in ALG mode, as follows: DIV([X*Y,X^2+Y^2+Z^2,Y*Z],[X,Y,Z])

Curl

The curl of a vector field F(x,y,z) = f(x,y,z)i+g(x,y,z)j+h(x,y,z)k,is defined by a “cross-product” of the del operator with the vector field, i.e.,

curlF = ∇ ⋅ F . The curl of vector field can be calculated with function CURL. For example, for the function F(X,Y,Z) = [XY,X2+Y2+Z2,YZ], the curl is calculated as follows: CURL([X*Y,X^2+Y^2+Z^2,Y*Z],[X,Y,Z])

Reference

For additional information on vector analysis applications see Chapter 15 in the calculator’s user’s guide.

Page 13-2