I-Calculator ye-Permutation (nPr)
Bhala izilungiselelo ezilungisiwe zezinto r ezikhethiwe kusuka ku-n.
Iziphetho zivuselelwa uma ubhala.
Malunga nale khadi
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.Per
Imibuzo ebuzwa kaningi
Yini ushintsho phakathi kwe-permutation ne-combination?
Kuhlelo lokushintshana, ukulandelana kubaluleke kakhulu (okuqala, owesibili, owesithathu yimiphumela ehlukene); kuhlanganise, akunjalo. Kuhlala kunezishintsho eziningi njengokuba kuhlanganise.
Yini ifomu lokushintshana?
nPr = n! / (n − r)!. Izingxenye ezingu-10 zithathwa njenge-3 ngasikhathi sinye: 10 × 9 × 8 = 720.
Ngabe kufanele ngisebenzise i-permutation?
Uma ukulandelana kubaluleke kakhulu: ukudweba abaqedela, ukugcwalisa indawo yokuqala/yesibili/yesibili, ukuphumula abantu emgqeni, noma ukwakha ikhodi elungisiwe.
Yini ezoba uma r ikhulu kuna-n?
Awukwazi ukuhlela izinto eziningi kunalokho okwenzekile, ngakho-ke imiphumela ayicacisiwe futhi ithuluzi libuyisela umgwaqo.
Yini i-nP0?
Kuyi-1 — kunendlela eyodwa kuphela yokuhlela okuthile, ukuhlela okungenalutho.
Yini i-nPn?
Ilingana ne n!, ngoba ukuhlela zonke izimo n ngokulandelana kuyinto efanayo ne factorial egcwele. Umzekelo 4P4 = 4! = 24.
API — sebenzisa le calculator kusuka kukhodi
Nquma le kalkuli njengendawo ephelezelwa i-JSON - akukho isitshixo esidingekayo. Thumela amaxabiso endawo ngezansi njengepharamitha yombuzo noma i-JSON. Funda i-API egcwele →
Ingxenye yendawo
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);
Izibalo ziyisilinganiso esisetshenziswa ukuqondisa kuphela, hhayi ukucebisa ngezimali, ukwelashwa noma ukukhokha.