RandomBinomial 指令
来自GeoGebra Manual
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版。
- RandomBinomial[ <Number of Trials>, <Probability> ]
CAS 视窗
- RandomBinomial[ <Number of Trials>, <Probability> ]
- RandomBinomial[ <Number n of Trials>, <Probability p> ]
- Generates a random number from a binomial distribution with n trials and probability p.
- 范例:
RandomBinomial[3, 0.1]
gives j ∈ {0, 1, 2, 3}, where the probability of getting j is the probability of an event with probability 0.1 occuring j times in three tries.
CAS Syntax
- RandomBinomial[ <Number n of Trials>, <Probability p> ]
- Generates a random number from a binomial distribution with n trials and probability p.
- 范例:
RandomBinomial[3, 0.1]
gives j ∈ {0, 1, 2, 3}, where the probability of getting j is the probability of an event with probability 0.1 occuring j times in three tries.
备注:
See also RandomNormal Command and RandomPoisson Command.