See also:

STURMAB

 

 

STURMAB

 

 

 

Type:

Command

 

 

Description:

For a polynomial P and a closed interval [a, b], STURMAB determines the number of zeroes P has

 

in [a, b]

 

 

Access:

Arithmetic, POLYNOMIAL

 

Input:

A polynomial P

 

 

Output:

A list containing a number that is the same sign as P(a) and the number of zeroes P has in [a, b].

Flags:

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

 

 

 

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

 

 

 

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

 

 

Example:

For the polynomial:

 

 

 

x3 + 2

 

 

 

in the interval [2,0] find the sign at the lower b ound, and the number of zeroes

Command:

STURMAB(X^3+2, -2, 0)

 

 

Result:

{-6,1}

 

 

See also:

STURM, ZEROS

 

 

STWS

Command

 

 

Type:

 

 

Description:

Set Wordsize Command: Sets the current binary integer wordsize to n bits, where n is a value

 

from 1 through 64 (the default is 64).

 

 

 

Values of n less than 1 or greater than 64 are interpreted as 1 or 64, respectively.

 

If the wordsize is smaller than an integer entered on the command line, then the most significant

 

bits are not displayed upon entry. The truncated bits are still present internally (unless they exceed

 

64), but they are not used for calculations and they are lost when a command uses this binary

 

integer as an argument.

 

 

 

Results that exceed the given wordsize are also truncated to the wordsize.

 

Access:

BASE LSTWS

( ´is the leftshift of the

Pkey).

 

ÃSTWS

(Ã is the rightshift of the

3key).

Flags: Binary Integer Wordsize (–5 through –10), Binary Integer Base (–11, –12)

Input/Output:

Level 1/Argument 1

Level 1/Item 1

n

#n

See also: BIN, DEC, HEX, OCT, RCWS

SUB

Type: Command Operation

Description: Subset Command: Returns the portion of a string or list defined by specified positions, or returns the rectangular portion of a graphics object or PICT defined by two corner pixel coordinates.

If nend position is less than nstart position, SUB returns an empty string or list. Values of n less than 1 are treated as 1; values of n exceeding the length of the string or list are treated as that length.

For graphics objects, a userunit coordinate less than the minimum userunit coordinate of the graphics object is treated as that minimum. A pixel or userunit coordinate greater than the maximum pixel or userunit coordinate of the graphi cs object is treated as that maximum.

3242 Full Command and Function Reference

Page 362
Image 362
HP 50g Graphing, 48gII Graphing manual Sturmab, Stws, Sub, STURM, Zeros