20090601
2-4-8
Function Calculations
Description:
• “
n
” must be a positive integer, and “
σ
” must be greater than 0.
Problem
Use this keyboard:
Operation
mth abc cat 2D
Randomly produce a body
length value obtained in
accordance with the normal
distribution of a group of
infants less than one year
old with a mean body length
of 68cm and standard
deviation of 8.
Func [randNorm] 8
68
U
Randomly produce the body
lengths of five infants in the
above example, and display
them in a list.
Func [randNorm] 8
68
5
U
S
“randBin” Function
The “randBin” function generates binomial random numbers based on values specified for
the number of trials
n
and probability P.
Syntax: randBin(
n
, P [,
m
])
Function:
• Omitting a value for “
m
” (or specifying 1 for “
m
”) returns the generated random number as-
is.
• Specifying a value for “
m
” returns the specified number of random values in list format.
Description:
• “
n
” and “
m
” must be positive integers.
Problem
Use this keyboard:
Operation
mth abc cat 2D
Randomly produce the
number of heads that can be
expected in accordance with
binomial distribution for five
coin tosses where the
probability of heads is 0.5.
Func [randBin] 5
0.5
U
Perform the same coin toss
sequence described above
three times and display the
results in a list.
Func [randBin] 5
0.5
3
U