Page 8-15
Applications of lists
This section shows a couple of applications of lists to the calculation of statistics
of a sample. By a sample we understand a list of values, say, {s
1
, s
2
, …, s
n
}.
Suppose that the sample of interest is the list
{1, 5, 3, 1, 2, 1, 3, 4, 2, 1}
and that we store it into a variable called S (The screen shot below shows this
action in ALG mode, however, the procedure in RPN mode is very similar. Just
keep in mind that in RPN mode you place the arguments of functions in the
stack before activating the function):
Harmonic mean of a list
This is a small enough sample that we can count on the screen the number of
elements (n=10). For a larger list, we can use function SIZE to obtain that
number, e.g.,
Suppose that we want to calculate the harmonic mean of the sample, defined
as
.
To calculate this value we can follow this procedure:
1. Apply function INV () to list S:
2. Apply function
Σ
LIST() to the resulting list in1.
⎟⎟⎠
⎞
⎜⎜⎝
⎛
+
+
+
=
=
∑
=
n
n
k
n
h
s
s
s
n
s
n
s
1
1
1
1
1
1
1
1
2
1
1
L
Содержание 50G
Страница 1: ...HP g graphing calculator user s guide H Edition 1 HP part number F2229AA 90006 ...
Страница 130: ...Page 2 70 The CMDS CoMmanDS menu activated within the Equation Writer i e O L CMDS ...
Страница 177: ...Page 4 10 Function DROITE is found in the command catalog N Using EVAL ANS 1 simplifies the result to ...
Страница 206: ...Page 5 29 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 257: ...Page 7 20 ...
Страница 383: ...Page 11 56 Function KER Function MKISOM ...
Страница 715: ...Page 21 68 Whereas using RPL there is no problem when loading this program in algebraic mode ...
Страница 858: ...Page L 5 ...