Permutation ဂဏန်းတွက်စက် (nPr)
n မှရွေးချယ်ထားသောrပစ္စည်းများ၏အမိန့်စီစဉ်ထားစာရင်း
သင်ရိုက်ထည့်သလိုရလဒ်များကို update လုပ်ပါ
ဤဂဏန်းတွက်စက်အကြောင်း
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.
မေးလေ့ရှိသောမေးခွန်းများ
permutation နှင့်ပေါင်းစပ်မှုအကြားခြားနားချက်ကဘာလဲ
တစ်ဦး permutation အမိန့်ကိစ္စရပ်များ (ပထမဦးဆုံး, ဒုတိယ, တတိယကွဲပြားခြားနားသောရလဒ်များဖြစ်ကြသည်); ပေါင်းစပ်မှုတစ်ခု၌၎င်း, မလုပ်ပါဘူး. အစဉ်အမြဲပေါင်းစပ်မှုအဖြစ်အနည်းဆုံးများစွာသော permutations ရှိပါတယ်.
permutation ဖော်မြူလာကဘာလဲ?
nPr = n! / (n - r ကို)!. 10 ပစ္စည်းများများအတွက်တစ်ချိန်က3ယူ: 10 ×9× 8 = 720.
ဘယ်အချိန်မှာ permutation ကိုသုံးသင့်သလဲ။
order ကိစ္စများအခါ: finishers စာရင်း, ပထမဦးဆုံး / ဒုတိယ / တတိယနေရာများဖြည့်, တစ်တန်းထဲမှာလူတွေကိုထိုင်, သို့မဟုတ်အမိန့်ကို code ကိုဆောက်လုပ်ရေး.
r ကို n ထက်ပိုကြီးလျှင်ဘာဖြစ်သလဲ?
အရာတွေကို သင့်မှာ ရှိတာထက် ပိုပြီး စီစဉ်လို့ မရနိုင်ဘူး၊ ဒါကြောင့် ရလဒ်က သတ်မှတ်ချက် မရှိဘူး၊ ကိရိယာက ဖြတ်ကြောင်းကို ပြန်ပေးတယ်။
nP0 ဆိုတာဘာလဲ?
ဒါဟာ 1 ဖြစ်ပါတယ်။ ဘာမှစီစဉ်ဖို့တိကျတဲ့နည်းလမ်းတစ်ခုရှိပါတယ်, အလွတ်စီစဉ်။
nPn ဆိုတာဘာလဲ?
ဒါဟာ n တူညီ!, အကြောင်းကို order ကိုအားလုံး n ပစ္စည်းများစီစဉ်ခြင်းကတစ်စုံတစ်ရာ factorial တူညီသောကြောင့်. ဥပမာအားဖြင့် 4P4 =4! = 24.
API ကို — code ကိုမှဤဂဏန်းတွက်စက်ကိုအသုံးပြု
အခမဲ့ JSON endpoint အဖြစ်ဤဂဏန်းတွက်စက်ကိုခေါ် - လိုအပ်သော key ကိုမရှိ. query parameters တွေကိုသို့မဟုတ် JSON အဖြစ်အောက်ပါ Field Values ကိုပို့. သင်ပယ်ချဘာမှတူညီသော default ကိုအသုံးပြုသည်ဤစာမျက်နှာနှင့်အတူ pre-filled ဖြစ်ပါတယ်။ အမည်မသိ parameter ကိုတစ်ခုဖြစ်ပါသည် 400, တစ်ဦးတိတ်ဆိတ်သော Zero ကိုမဆို. ပြည့်စုံသော API ကိုစာရွက်စာတမ်းများကိုဖတ်ပါ →
အဆုံးသတ်ချက်
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);
ရလဒ်များသာယေဘုယျလမ်းညွှန်မှုများအတွက်ခန့်မှန်းချက်ဖြစ်ကြသည်, မငွေကြေး, ဆေးဘက်ဆိုင်ရာသို့မဟုတ်အခွန်အကြံပေးချက်.