Permutation Calculator (nPr)
Kuwerengera anaika ndondomeko ya zinthu r anasankha kuchokera n.
Zithunzizi zimasintha monga momwe mumalemba.
Zachidule
A permutation counts how many ways you can arrange r items chosen from a set of n, where order matters — so first, second and third place are three different outcomes. This calculator returns the exact count and the formula it used, even for large n and r.
The formula is nPr = n! / (n − r)!, which is the same as multiplying the top r numbers counting down from n. For 10 items taken 3 at a time, that is 10 × 9 × 8 = 720. Choosing none gives nP0 = 1, and arranging all of them gives nPn = n!. You cannot choose more items than you have, so if r is greater than n the tool returns a dash.
Permutations answer "how many ordered sequences?" — the number of possible race finishes, seating orders, PIN codes or ranked shortlists. When order does not matter, use a combination instead, which is always the smaller count.
Mafunso ofunsidwa nthawi zambiri
Kodi pali kusiyana kotani pakati pa permutation ndi kugwirizana?
Mu permutation ndondomeko zinthu (yamba,chiwiri,chitatu ndi zotsatira zosiyanasiyana); mu kugwirizana izo sizotheka.Pakalipano pali nthawi zonse panthawi yochepa monga ambiri permutations monga kugwirizana.
Kodi ndi chiyani permutation formula?
nPr = n! / (n − r)!. Kwa 10 zinthu anatenga 3 pa nthawi: 10 × 9 × 8 = 720.
Kodi ndiyenera kugwiritsa ntchito permutation?
Pofuna kukhazikitsa zinthu: kugawa omaliza, kumaliza malo oyamba / awiri / atatu, kuika anthu m'gulu, kapena kupanga code yoyenera.
Kodi chimachitika ngati r ndi lalikulu kuposa n?
Simungathe kupanga zinthu zambiri kuposa inu muli, kotero zotsatira ndi undefined ndi chida amabwerera a dash.
Kodi ndi nP0?
Ndi 1 — pali mwatsatanetsatane njira imodzi yoyang’anira chilichonse, chosakwanira kuyang’anira.
Kodi ndi nPn?
Ndi wofanana n!, chifukwa kuika zonse n zinthu m'njira ndi chimodzimodzi monga wonse factorial. M'malo mwake 4P4 = 4! = 24.
API — kugwiritsa ntchito izi calculator kuchokera code
Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Chomweko chilichonse chimene mumasiya chimagwiritsa ntchito mfundo yoyamba yomweyi yomwe tsambali limagwiritsa ntchito; mfundo yosadziwika ndi 400, siyiyenera kukhala zero yosadziwika. Onani zonse API docs →
Chithunzi
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);
Zimenezi ndi zowerengera zokhudzana ndi malangizo amtundu uliwonse, si zokhudzana ndi ndalama, zamoyo kapena zokhudzana ndi ndalama.