Cyfrifo
Cyfrif y ffyrdd o ddewis r eitemau o n pan nad yw trefn yn bwysig.
Diweddaru canlyniadau wrth i chi deipio.
Am y cyfrifiadur hwn
combination counts how many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence counts once. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison. Choosing none or all gives nC0 = nCn = 1, and as with permutations, r cannot exceed n. A combination counts how many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence.Combinations answer "How many groups?" —The formula is nCr = n! / (r! × (n − r)!). For 10 items taken 3 at a time there are 120 distinct groups.Combinations answer "How many groups?"Combinations answer "How many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence counts once. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison. A combination counts how many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence counts once. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison. This calculator returns the exact count, the formula, and the
Cwestiynau a ofynnir yn aml
Beth yw' r fformiwla gydweddu?
nCr = n! / (r! × (n − r)!). Am 10 eitem a gymerir 3 ar yr un pryd: 120 grŵp gwahanol.
Pam mae nCr yn llai na nPr?
Mae cyfuniadau yn anwybyddu trefn, felly mae pob grŵp di-drefnu yn cydweddu â chyfunodiadau trefnus r!. Dyna pam mae nCr = nPr ÷ r!.
Pryd ddylwn i ddefnyddio cyfuniad?
Pan nad yw trefn yn bwysig: rhifau loteri, llaw o gardiau, dewis comisiwn, neu unrhyw ddewis lle mae'r grŵp yn cyfrif, nid ei drefn.
Beth yw cydran binomial?
Mae' n enw arall ar gyfer nCr, y gwerth "n dewis r" sy' n ymddangos yn y theorem binomial ac yn ffurfio cofnodion triongl Pascal.
Beth yw nC0 neu nCn?
Mae'r ddau yn hafal i 1 - mae un ffordd i ddewis dim, ac un ffordd i ddewis pob un ohonynt.
A yw'r erfyn hwn yn dangos permutations hefyd?
Ie. Mae' n dangos nPr = nCr × r! wrth ochr y cyfuniad fel y gallwch gymharu cyfrifiadau trefnus a di-drefnus.
API - defnyddio'r cyfrifiannell hwn o'r cod
Galw'r cyfrifiannell hwn fel diwedd-bwynt JSON rhad ac am ddim - nid oes angen allwedd. Anfonwch y gwerthoedd maes isod fel paramedrau ymholiad neu JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Darllen y dogfennaeth API lawn →
Diwedd
GET https://calculator.free/api/v1/combination/
curl
curl "https://calculator.free/api/v1/combination/?n=10&r=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/combination/?" + new URLSearchParams({
"n": "10",
"r": "3"
}));
const data = await r.json();
console.log(data.results);
Mae'r canlyniadau yn amcangyfrifon ar gyfer cyfarwyddyd cyffredinol yn unig, nid cyngor ariannol, meddygol na thrafodion treth.