### The Maxima on-line user's manual

Algebra Calculator

#### Random_normal

Function: random_normal (<m>,<s>)

Function: random_normal (<m>,<s>,<n>) Returns a Normal(m,s) random variate, with s>0. Calling `random_normal` with a third argument <n>, a random sample of size <n> will be simulated.

This is an implementation of the Box-Mueller algorithm, as described in Knuth, D.E. (1981) <Seminumerical Algorithms. The Art of Computer Programming.> Addison-Wesley.

To make use of this function, write first `load(distrib)`.

```(%o1)                                true
(%i2) ```

### Related Examples

##### random_normal

random_normal(0,1,3);

Calculate

##### random_normal

x = random_normal(0,1...

x+0;

Calculate

##### random_normal

random_normal(0,1,3);

Calculate

##### random_normal

x = random_normal(0,1...

Calculate

##### random_normal

random_normal(0,1,5/2);

Calculate

##### random_normal

x = random_normal(0,1...

x+0;

Calculate

##### random_normal

random_normal(0,1,3);

Calculate

? random_normal;

Calculate

##### random_normal

x = random_normal(0,1...

x+1;

Calculate

##### random_normal

random_normal(0,1,3);

Calculate