Applications Of Lists; Harmonic Mean Of A List - HP 50g User Manual

Graphing calculator.

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
Suppose that the sample of interest is the list
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.
{1, 5, 3, 1, 2, 1, 3, 4, 2, 1}
1
s
h
1
1
n
n
s
k
1
n
1
1
1
1
⎜ ⎜
L
n
s
s
1
2
, s
, ..., s
1
2
1
⎟ ⎟
s
n
.
Page 8-15
}.
n  