Lists
19-9
SIZE
Calculates the number of elements in a list.
SIZE(
list
)
Also works with matrices.
Σ
LIST
Calculates the sum of all elements in list.
Σ
LIST(
list
)
Example
Σ
LIST({2,3,4})
returns
9
.
SORT
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
2. In HOME, store L1 into
C1. You will then be
able to see the list data in the Numeric view of the
Statistics aplet.
L1
C1
hp40g+.book Page 9 Friday, December 9, 2005 1:03 AM
Summary of Contents for 40gs
Page 10: ...hp40g book Page x Friday December 9 2005 1 03 AM ...
Page 64: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Page 80: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Page 86: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Page 100: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Page 126: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Page 182: ...hp40g book Page 28 Friday December 9 2005 1 03 AM ...
Page 274: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Page 303: ...Step by Step Examples 16 29 hp40g book Page 29 Friday December 9 2005 1 03 AM ...
Page 304: ...hp40g book Page 30 Friday December 9 2005 1 03 AM ...
Page 314: ...hp40g book Page 10 Friday December 9 2005 1 03 AM ...
Page 330: ...hp40g book Page 16 Friday December 9 2005 1 03 AM ...
Page 392: ...hp40g book Page 44 Friday December 9 2005 1 03 AM ...
Page 420: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Page 428: ...hp40g book Page 8 Friday December 9 2005 1 03 AM ...
Page 444: ...hp40g book Page 16 Friday December 9 2005 1 03 AM ...