REVERSE

SIZE

ΣLIST

SORT

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)

Finding statistical values for list elements

To find values such as the mean, median, maximum, and minimum values of the elements in a list, use the Statistics aplet.

Example

In this example, use the Statistics aplet to find the mean,

 

median, maximum, and minimum values of the elements

 

in the list, L1.

 

 

 

 

1. Create L1 with values 88, 90, 89, 65, 70, and 89.

 

 

{ 88

90

 

 

 

 

 

 

 

89

65

70

89

 

 

 

}

 

 

 

 

 

L1

 

 

 

 

 

 

 

 

Lists

16-9