>
|
|
We first create a random number generator for generating random numbers on the range 1..6 and generate two random numbers.
>
|
|
| (2) |
Now we roll the die 10 times.
Now we create a 10 decimal digit random number generator. To form uniformly distributed floating point random numbers with 10 digits of precision on [0,1) we use the command which forms the floating point number .
>
|
|
| (6) |
>
|
|
| (10) |
For further options see help page for the NewGenerator command.