I-Calculator ye-Permutation (nPr)

Bala ulungelelaniso olucwangcisiweyo lwee-r izinto ezikhethiweyo kwi-n.

IiPermutations (nPr) —
Ifomula —

Iinketho ze projekti

Ingaba le calculator ikunika umyalezo olungileyo?

Malunga nale Calculator

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.

Imibuzo ebuza rhoqo

Yintoni utshintsho phakathi kokuguqulwa kunye nokudityaniswa?

Kwindlela yokuguqula iimpazamo (i-first, second, third are different outcomes); kwiqela lezinto ayisebenzi. Kuhlala kukho iindidi ezininzi zokuguqula iimpazamo njengeqela lezinto.

Yintoni ifomula yokutshintsha?

nPr = n! / (n − r)!. Kwizinto ezili-10 ezithathwe 3 ngexesha: 10 × 9 × 8 = 720.

Ndifanele ndisebenzise njani utshintsho?

Xa ukulandelana kubaluleke: ukudwelisa abagqibayo, ukugcwalisa indawo yokuqala/yesibini/yesithathu, ukuphumla kwabantu kumgca, okanye ukwakha ikhowudi elandelelanayo.

Yintoni ebangela ukuba i-r ibe mkhulu kune-n?

Awunakucwangcisa izinto ezininzi kunezona zikhoyo, ngoko ke isiphumo asichaziwanga kwaye isixhobo sibuyisela umgca.

Yintoni i-nP0?

I-1 — kukho indlela enye yokulungisa into engasebenziyo, ukulungisa okungenanto.

Yintoni i-nPn?

Ilingana ne n!, kuba ukucwangcisa zonke ii n zinto ngokulandelana kufanayo njenge factorial epheleleyo. Umzekelo 4P4 = 4! = 24.

❤️ Uthando Calculator.Free? Yabelana

𝕏  X Facebook Reddit
API — sebenzisa le calculator ukusuka kwikhowudi

Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →

Incopho yesiphelo

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);

Results are estimates for general guidance only, not financial, medical or tax advice.