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

 

 

Func

 

[randNorm] 8 68 U

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.

 

 

 

 

 

 

 

 

 

 

 

Randomly produce the body

 

 

Func

 

[randNorm] 8 68 5

lengths of five infants in the

 

 

 

 

U

above example, and display

 

 

 

 

 

them in a list.

 

 

 

 

 

 

 

 

 

 

 

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

 

 

Func

 

[randBin] 5 0.5 U

number of heads that can be

 

 

 

 

 

expected in accordance with

 

 

 

 

 

binomial distribution for five

 

 

 

 

 

coin tosses where the

 

 

 

 

 

probability of heads is 0.5.

 

 

 

 

 

 

 

 

 

 

 

Perform the same coin toss

 

 

Func

 

[randBin] 5 0.5 3 U

sequence described above

 

 

 

 

 

three times and display the

 

 

 

 

 

results in a list.

 

 

 

 

 

 

 

 

 

 

 

20090601