“RandomBinomial 指令”的版本间的差异
来自GeoGebra Manual
小 (機器人:執行文字代換作業 (-{{command +{{command|cas=true)) |
(en) |
||
第6行: | 第6行: | ||
;RandomBinomial[ <Number of Trials>, <Probability> ] | ;RandomBinomial[ <Number of Trials>, <Probability> ] | ||
:{{translate|RandomBinomial Command}} | :{{translate|RandomBinomial Command}} | ||
+ | ;RandomBinomial[ <Number n of Trials>, <Probability p> ] | ||
+ | :Generates a random number from a binomial distribution with ''n'' trials and probability ''p''. | ||
+ | :{{example| 1=<div><code><nowiki>RandomBinomial[3, 0.1]</nowiki></code> 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.</div>}} | ||
+ | ==CAS Syntax== | ||
+ | ;RandomBinomial[ <Number n of Trials>, <Probability p> ] | ||
+ | :Generates a random number from a binomial distribution with ''n'' trials and probability ''p''. | ||
+ | :{{example| 1=<div><code><nowiki>RandomBinomial[3, 0.1]</nowiki></code> 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.</div>}} | ||
+ | {{note| 1=<div>See also [[RandomNormal Command]] and [[RandomPoisson Command]].</div>}} |
2011年10月20日 (四) 03:23的最新版本
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
- 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.