RandBetween Parameters |
Top Previous Next |
$p=RandBetween(low, high, number)
Generates number random integers between high and low inclusive. The random integers are uniformly distributed.
The RandBetween parameter can quickly produce uniformally distributed data sets from a given low and high value. You might use a RandBetween parameter to simulate dice rolls for example.
For example
$p=RandBetween(5,10,30) might generate
9, 7, 7, 9, 9, 7, 10, 10, 8, 9, 8, 5, 7, 5, 8, 10, 7, 6, 9, 9, 8, 8, 5, 6, 7, 5, 6, 7, 5, 8
A RandBetween parameter is regeneratable. Every time you regenerate, you will be provided with a fresh set of data.
A RandBetween parameter can be used for statistical calculations in the inline calculator.
|