Permutation Reiknivél (nPr)
Telja skal röðun r hluta úr n.
Niðurstöður uppfæra eins og þú slærð.
Um þessa reiknivél
you choose 10 items, you can choose 10 items, and if r is greater than n, the tool 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. nPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutations
Algengar spurningar
Hver er munurinn á permutation og samsetningu?
Í skiptingu skiptir röðin máli (fyrsta, önnur, þriðja eru mismunandi niðurstöður); í samsetningu skiptir það ekki máli, það eru alltaf að minnsta kosti eins margar skiptingar og samsetningar.
Hvað er permutation formúla?
nPr = n! / (n − r)!. Fyrir 10 hluti sem teknir eru 3 í einu: 10 × 9 × 8 = 720.
Hvenær ætti ég að nota permutation?
Þegar röð skiptir máli: raða finishers, fylla fyrsta / annað / þriðja sæti, setja fólk í röð, eða byggja upp skipulagða kóða.
Hvað gerist ef r er stærra en n?
Þú getur ekki raðað fleiri hlutum en þú hefur, þannig að niðurstaðan er óskilgreind og tólið skilar dráttarbraut.
Hvað er nP0?
Það er 1 — það er nákvæmlega ein leið til að raða engu, tóma skipulagið.
Hvað er nPn?
Það er jafnt og n!, því að raða öllum n hlutum í röð er það sama og að raða öllum hlutum í röð í heildarfall. Til dæmis 4P4 = 4! = 24.
API — nota þessa reiknivél frá kóða
Hringdu í þessa reiknivél sem ókeypis JSON endapunkt - enginn lykill þarf. Sendu gildi reitsins hér að neðan sem fyrirspurnarbreytur eða JSON. Lestu API skjölin í heild sinni →
Endir
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);
Niðurstöður eru áætlanir um almenna leiðbeiningar aðeins, ekki fjárhagslega, læknisfræðilega eða skattaráðgjöf.