ROOT

Type: Command

Description: Root-Finder Command: Returns a real number xroot that is a value of the specified variable global for which the specified program or algebraic object most nearly evaluates to zero or a local extremum.

ROOT is the programmable form of the HP Solve application.

guess is an initial estimate of the solution. ROOT produces an error if it cannot find a solution, returning the message Bad Guess(es) if one or more of the guesses lie outside the domain of the equation, or returns the message Constant? if the equation returns the same value at every sample point. ROOT does not return interpretive messages when a root is found.

Access:

…µROOT

 

 

 

 

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Level 3/Argument 1

Level 2/Argument 2

Level 1/Argument 3

 

Level 1/Item 1

 

 

 

 

 

 

 

 

 

«program»

'global'

guess

xroot

 

 

«program»

'global'

{ guesses }

xroot

 

 

'symb'

'global'

guess

xroot

 

 

'symb'

'global'

{ guesses }

xroot

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ROT

RPL Command

 

 

 

 

Type:

 

 

 

 

Description:

Rotate Objects Command: Rotates the first three objects on the stack, moving the object on level

 

3 to level 1.

 

 

 

 

In RPN mode, ROT is equivalent to 3 ROLL.

Access:

STACK ROT

 

 

( °is the left-shift of the Nkey).

 

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L3

 

L2

 

L1

 

L3

 

L2

L1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

obj3

 

obj2

 

obj1

obj2

 

obj1

obj3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L = Level

 

 

 

 

 

See also:

OVER, PICK, ROLL, ROLLD, SWAP, UNROT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ROW–

Command

 

 

 

 

 

 

 

 

 

Type:

 

 

 

 

 

 

 

 

 

Description:

Delete Row Command: Deletes row n of a matrix (or element n of a vector), and returns the

 

modified matrix (or vector) and the deleted row (or element).

 

 

 

 

 

nrow or nelement is rounded to the nearest integer.

 

 

 

 

 

Access:

CRREATE ROW ROW

 

( Ø is the left-shift of the 5key).

 

MATRIX ROW ROW

 

( ´is the left-shift of the Pkey).

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Level 2/Argument 1

Level 1/Argument 2

 

Level 2/Item 1

 

Level 1/Item 2

 

 

 

 

 

 

 

 

 

 

 

[[ matrix ]]1

 

nrow

[[ matrix ]]2

 

[ vector ]row

 

 

[ vector ]

1

 

n

element

[ vector ]

2

 

element

 

 

 

 

 

 

 

n

See also:

COL–, COL+, ROW+, RSWP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Full Command and Function Reference 3-207