“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的最新版本

Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


RandomBinomial[ <Number of Trials>, <Probability> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊

CAS 視窗

RandomBinomial[ <Number of Trials>, <Probability> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
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.
© 2024 International GeoGebra Institute