Permutácia kalkulačka (nPr)
Spočítajte usporiadanie r položiek vybraných z n.
Výsledky sa aktualizujú počas písania.
O tejto kalkulačke
you choose 10 items, you can choose 10 items, and if r is greater than n, the calculator returns a dash. If r is smaller than n, the calculator returns a dash. If r is larger than n, the calculator returns a dash. If r is smaller than n, the calculator returns a dash. If r is larger than n, the calculator returns a dash. If r is smaller than n, the calculator returns a dash. If r is larger than n, the calculator returns a dash.PermuPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPer
Často kladené otázky
Aký je rozdiel medzi permutáciou a kombináciou?
V permutácii je dôležité poradie (prvý, druhý, tretí sú rôzne výsledky), v kombinácii nie, vždy je aspoň toľko permutácií ako kombinácií.
Aký je permutovaný vzorec?
nPr = n! / (n − r)!. Pre 10 položiek, ktoré sa berú 3 naraz: 10 × 9 × 8 = 720.
Kedy by som mal použiť permutáciu?
Keď je dôležité poradie: poradie dojazdu, vyplnenie prvého/druhého/tretieho miesta, sedenie ľudí v rade alebo vytvorenie usporiadaného kódu.
Čo sa stane, ak je r väčšie ako n?
Nemôžete usporiadať viac položiek, ako máte, takže výsledok je nedefinovaný a nástroj vráti pomlčku.
Čo je nP0?
Je to 1 — existuje presne jeden spôsob ako usporiadať nič, prázdne usporiadanie.
Čo je nPn?
Je to n!, pretože usporiadanie všetkých n položiek v poradí je rovnaké ako úplný faktoriál, napríklad 4P4 = 4! = 24.
API — použite túto kalkulačku z kódu
Zavolajte túto kalkulačku ako voľný koncový bod JSON – nevyžaduje sa žiadny kľúč.Odoslať hodnoty polí nižšie ako parametre dotazu alebo JSON. Prečítajte si celú dokumentáciu API →
Koncový bod
GET https://calculator.free/api/v1/permutation/
curl
curl "https://calculator.free/api/v1/permutation/?n=10&r=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/permutation/?" + new URLSearchParams({
"n": "10",
"r": "3"
}));
const data = await r.json();
console.log(data.results);
Výsledky sú odhady len pre všeobecné usmernenie, nie finančné, lekárske alebo daňové poradenstvo.