DIV

Type:

Command

 

 

Description:

Returns the divergence of a vector function.

Access:

Calculus, DERIV. & INTEG.

Input:

Level 2/Argument 1: An array representing a vector function.

 

Level 1/Argument 2: An array containing the variables.

Output:

The divergence of the vector function with respect to the specified variables.

Flags:

Exact mode must be set (flag –105 clear).

 

Numeric mode must not be set (flag –3 clear).

Example:

Find the divergence of the following vector function:

 

v = x2yi + x2yj + y2zk

Command:

˜

˜

˜

DIV([X^2*Y, X^2*Y, Y^2*Z],[X,Y,Z])

Result:

Y*(2*X)+(X^2+Y^2)

See also:

CURL, HESS

 

 

 

 

 

 

DIV2

 

 

 

Type:

Command

 

 

Description:

Performs Euclidean division on two expressions. Stepbystep mode is available with this

 

command.

 

 

Access:

Arithmetic, POLYNOMIAL

Input:

Level 2/Argument 1: The dividend.

 

Level 1/Argument 2: The divisor.

Output:

Level 2/Item 1: The quotient.

 

Level 1/Item 2: The remainder.

Flags:

Exact mode must be set (flag –105 clear).

 

Numeric mode must not be set (flag –3 clear).

 

Stepbystep mode can be set (flag –100 set).

 

Radians mode must be set (flag –17 set).

Example:

Perform the following division:

 

x2 + x + 1

 

 

 

-----------------------

 

 

 

2x + 4

 

 

Command:

DIV2(X^2+X+1,2*X+4)

Result:

{1/2(X-1),3}

 

 

 

 

 

DIV2MOD

 

 

 

Type:

Command

 

 

Description:

Performs Euclidean division on two expressions modulo the current modulus.

Access:

Arithmetic, MODULO

Input:

Level 2/Argument 1: The dividend.

 

Level 1/Argument 2: The divisor.

Output:

Level 2/Item 1: The quotient.

 

Level 1/Item 2: The remainder.

362 Full Command and Function Reference

Page 182
Image 182
HP 50g Graphing, 48gII Graphing manual Div, DIV2MOD, CURL, Hess