beautypg.com

List operations, continued – HP 38g Graphing Calculator User Manual

Page 149

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

List Operations, continued

ÄUST

Creates a new list composed of the differences between the

sequential elements in

listl.

The new list has one fewer

elements than //sf7. The first differences for {x,

...

xj are

[ x - x ^

AhlSTi list I)

MAKEUST

Calculates a sequence of elements for a new list. Evaluates

expression with

variable

from

begin

to

end

values, taken at

increment steps.

MAKELI ST (

expression, variable, begin, end, increment)

tt

UST

Calculates the product of all elements in list.

TTLIST(//sn

Example:

t t

L I S T ( { 2 , 3 , 4 } ) returns 24.

POS

The position (a number) of an element within a list. The

element

can be a value, a variable, or an expression.

POS

{list, element)

REVERSE

Reverses order of elements in list into a new list.

REVERSE{fen

SIZE

Number of elements in a list.

S I Z E {list)

2UST

Calculates the sum of all elements in list.

IhlST {list)

Example: S

list

( { 2 , 3 , 4 } ) returns 9.

SORT

Sorts elements in ascending order.

SORT (//si)

Using Lists 7-5