RandomDiscrete Command
From GeoGebra Manual
- RandomDiscrete[ <List of Numbers>, <List of Probabilities> ]
Produces random number from the first list according to probability distribution in the second one. The sum of the second list does not have to be 1, the probabilities are normalized.