Normal

Interface

normal(n:real, v^2:real) : real

Returns a drawing from a normal distribution with mean n and variance v.

Raises Normal exception, if v<0.0.

Characteristics

Mean: n
Variance: v

Density functions for normal distributions:

Density functions for normal distributions

Example

normal(505.0,4.0)

A factory produces chocolate in packages of 500 grams. The amount of chocolate in each package has a normal distribution with mean n=505.0 grams and variance v=2.0 (as v^2 = 4.0) grams. Each package with a weight less than 500 grams will be rejected in the control procedure.

Related pages