I-Calculator ye-Potential
Dibanisa iziganeko ezimbini ezizimeleyo ezinokwenzeka: kwaye, okanye, akukho nanye.
Iinketho ze projekti
Malunga nale Calculator
example, if the probability of two independent events A and B is 50%, then the probability of both events happening is 100%. The probability calculator uses the following rules: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A and B); P(neither) = (1 − P(A)) × (1 − P(B)); and "only A" is P(A) − P(A and B). A pie chart splits the sample space into the four mutually exclusive outcomes (both, A only, B only, neither).TheWorked example: with P(A) = 50% and P(B) = 50%, both happen with probability 0.5 × 0.3 = 15%, and neither happens with probability 0.5 × 0.7 = 35%. A pie chart splits the sample space into the four mutually exclusive outcomes.The probability calculator uses the following rules: P(A and B) = P(A) × P(B); P(A or B) = P(A) × P(B); P(neither) = (1 − P(A)) × (1 − P(B)); and "only A" is P(A) − P(A and B). A pie chart splits the sample space into the four mutually exclusive outcomes.The probability calculator uses the following rules: P(A and B) = P(A) × P(B); P(A or B) = P(A) × P(B); P(neither) = P(A) × P(B) × (1 − P(B)). The probability calculator uses the following rules: P(A) = 50% and P(B) = 50%.The probability calculator uses the following rules: P(A) = 50% and P(B) = 50%.The probability calculator uses the following rules: P(A) = 50% and P(B) =
Imibuzo ebuza rhoqo
Ndiyifumana njani inokubakho kweziganeko ezimbini ezibini ezibangelwa?
Kwiziganeko ezizimeleyo, uphindaphindo olunokwenzeka: P(A noB) = P(A) · P(B). Isiganeko esingu-50% nesiganeko esingu-30% zombini zikhona yi-0.5 × 0.3 = 0.15, okanye i-15%.
Ithetha ntoni i-independent apha?
I-independent ithetha ukuba i-outcome yemeko enye ayinakubangela utshintsho kwimeko enye - njenge-coin rolls ezimbini ezihlukileyo. Ukuba iziganeko zibangela utshintsho (zixhomekeke), ezi fomula azisebenzi kwaye ufuna ukwenzeka okunokwenzeka okunokwenzeka.
I-"A okanye B" ibalolwa njani?
P(A okanye B) = P(A) + P(B) − P(A no B). Ukususa ukungqubana kunciphisa impumelelo enikezelweyo ekubeni ibalolwe kabini, ngoko ke impumelelo ayizukuba ngaphezulu kwe-100%.
Ndiyifumana njani inokubakho yokuba akukho sizathu sithile esibangelwayo?
Ukuphindaphinda iinzame zesiganeko ngasinye esingabakho: P(ngawo) = (1 − P(A)) × (1 − P(B)). Kwi-50% kunye ne-30% isiganeko esingu 0.5 × 0.7 = 0.35, okanye 35%.
Yintoni utshintsho phakathi kwe "A okanye B" kunye ne "nye kuphela yazo"?
"A okanye B" iquka iimeko apho zombini zisenza, ngelixa "enye kuphela" i excludes. "Inye kuphela" ilingana P (A okanye B) ngaphantsi P (A kunye B), ubalo ezimbini ezikhethekileyo-okanye izigqibo kodwa hayi ukungqubana.
Yintoni ukuba iziganeko ezimbini aziyi kuxhomekeka kunye?
Ezi fomula zithathela ingqalelo ukungabikho kolawulo. Ukuba isiganeko sibangela enye ibangela enye, kufuneka uqinisekise ukuba ikhona, P( A no B) = P( A) × P( B | A), kwaye le kalkuli izakuchaza ngaphezulu okanye ngaphantsi iinzame ezidityanisiweyo.
Ingaba ezi zinto zinokuthi zidityaniswe zingaphezulu kwe-100%?
Ii-equations ezine ezixhalabisayo - zombini, A kuphela, B kuphela nakunye - zihlala zidibanisa ngokuchanekileyo kwi-100%. Ii-figures ezizimeleyo ezinjenge "A okanye B" zingaba khulu, kodwa aziyi kudlula kwi-100% kuba ukungqubana kususwa.
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le kalkulator njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo engezantsi njengeparameter yombuzo okanye i-JSON. Funda i-API epheleleyo →
Incopho yesiphelo
GET https://calculator.free/api/v1/probability/
curl
curl "https://calculator.free/api/v1/probability/?pa=50&pb=30"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/probability/?" + new URLSearchParams({
"pa": "50",
"pb": "30"
}));
const data = await r.json();
console.log(data.results);
IiNtlanganiso zeNtlanganiso yeNtlanganiso