RandomDiscrete Command

From GeoGebra Manual
Revision as of 13:51, 28 August 2015 by Murkle (talk | contribs) (<List of (Relative) Probabilities>)
Jump to: navigation, search
RandomDiscrete[ <List of Numbers>, <List of (Relative) 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.

© 2024 International GeoGebra Institute