beautypg.com

Example, Nust pos reverse size zlist sort – HP 39g Graphing Calculator User Manual

Page 197

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

background image

nUST

POS

REVERSE

SIZE

ZLIST

SORT

Calculates the product of all elements in list.

riLIST (//Ji)

Example

riLISTi { 2 , 3 , 4 } ) returns 24.

Returns the position of an element within a list. The element

can be a value, a variable, or an expression. If there is more
than one instance of the element, the position of the first
occurrence is returned. A value of 0 is returned if there is no
occurrence of the specified element.

POS

(list, element)

Example

POS ( { 3 , 7 , 1 2 , 19} , 1 2 ) returns 3

Creates a list by reversing the order of the elements in a list.

REVERSE (list)

Calculates the number of elements in a list.

SIZE (for)

Also works with matrices.

Calculates the sum of all elements in list.

ELIST(/;V)

Example

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

Sorts elements in ascending order.

SORT(to)

Lists

13-9