ΠLIST

POS

REVERSE

SIZE

ΣLIST

SORT

Calculates the product of all elements in list.

ΠLIST(list)

Example

ΠLIST({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, 12, 19},12) 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(list)

Also works with matrices.

Calculates the sum of all elements in list.

ΣLIST(list)

Example

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

Sorts elements in ascending order.

SORT(list)

Lists

13-9

Page 195
Image 195
HP 40G manual Calculates the product of all elements in list, POSlist, element, Calculates the number of elements in a list