ပေါင်းစပ်ဂဏန်းတွက်စက် (nCr)
အမိန့်အရေးမပါဘဲအခါ n မှ r ပစ္စည်းများရွေးချယ်ဖို့နည်းလမ်းတွေစာရင်း။
သင်ရိုက်ထည့်သလိုရလဒ်များကို update လုပ်ပါ
ဤဂဏန်းတွက်စက်အကြောင်း
A combination counts how many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence counts once. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison.
The formula is nCr = n! / (r! × (n − r)!). For 10 items taken 3 at a time there are 120 distinct groups. Combinations are always smaller than permutations because each unordered group corresponds to r! different orderings, so nCr = nPr ÷ r!. Choosing none or all gives nC0 = nCn = 1, and as with permutations, r cannot exceed n.
Combinations answer "how many groups?" — the odds in a lottery, the number of possible five-card poker hands, ways to pick a committee, or terms in a binomial expansion. The value nCr is also called the binomial coefficient, the "n choose r" number in Pascal's triangle.
မေးလေ့ရှိသောမေးခွန်းများ
ပေါင်းစပ်မှုပုံစံကဘာလဲ?
nCr = n! / (r! × (n - r)!). များအတွက် 10 ပစ္စည်းများ3တစ်ချိန်ကယူ: 120 ကွဲပြားခြားနားသောအုပ်စုများ။
ဘာကြောင့် nCr nPr ထက်သေးငယ်သည်?
ပေါင်းစပ်မှုအမိန့်ကိုမေ့လျော့, ဒါကြောင့်တစ်ဦးချင်းစီ unordered အုပ်စုသည်အ R ကိုကိုက်ညီ! အမိန့် permutations. ဒါကြောင့် nCr = nPr ÷ r ကို!.
ပေါင်းစပ်ချက်ကို ဘယ်အချိန်မှာ သုံးသင့်သလဲ။
အမိန့်အရေးမပါသောအခါ: လောင်းကစားနံပါတ်များ, ကဒ်၏လက်, ကော်မတီတစ်ခုရွေးချယ်ခြင်း, သို့မဟုတ်အုပ်စုသည်ဘာကိုစာရင်းဖြစ်ပါတယ်ဘယ်မှာမည်သည့်ရွေးချယ်မှု, ၎င်း၏စီစဉ်ခြင်းမဟုတ်.
တစ်ဦး binomial coefficient ကိုဖြစ်ပါသည်?
nCr အတွက်အခြားအမည်တစ်ခုဖြစ်သည်, "n ရွေးချယ်ပါ r" တန်ဖိုးကိုနှစ်မျိုးစလုံးသိပ္ပံသိပ္ပံတွင်ပေါ်လာပြီး Pascal ၏သုံးထောင့်ကွက်၏ entry များကိုဖွဲ့စည်းသည်။
nC0 သို့မဟုတ် nCn ဆိုတာဘာလဲ?
နှစ်ဦးစလုံးညီမျှ 1 - ရွေးချယ်ဖို့တစ်နည်းလမ်းမရှိ, နှင့်သူတို့အားလုံးကိုရွေးချယ်ဖို့တစ်နည်းလမ်းရှိပါတယ်.
ဒီကိရိယာက ပြောင်းပြန်လှန်မှုတွေကို ဖော်ပြပါသလား
ဟုတ်ကဲ့. ဒါဟာ nPr = nCr × r ကိုပြသ! သင်အမိန့်နှင့် unorderly စာရင်းကိုနှိုင်းယှဉ်နိုင်အောင်ပေါင်းစပ်ခြင်းနှင့်အတူတကွ.
API ကို — code ကိုမှဤဂဏန်းတွက်စက်ကိုအသုံးပြု
အခမဲ့ JSON endpoint အဖြစ်ဤဂဏန်းတွက်စက်ကိုခေါ် - လိုအပ်သော key ကိုမရှိ. query parameters တွေကိုသို့မဟုတ် JSON အဖြစ်အောက်ပါ Field Values ကိုပို့. သင်ပယ်ချဘာမှတူညီသော default ကိုအသုံးပြုသည်ဤစာမျက်နှာနှင့်အတူ pre-filled ဖြစ်ပါတယ်။ အမည်မသိ parameter ကိုတစ်ခုဖြစ်ပါသည် 400, တစ်ဦးတိတ်ဆိတ်သော Zero ကိုမဆို. ပြည့်စုံသော API ကိုစာရွက်စာတမ်းများကိုဖတ်ပါ →
အဆုံးသတ်ချက်
GET https://calculator.free/api/v1/combination/
curl
curl "https://calculator.free/api/v1/combination/?n=10&r=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/combination/?" + new URLSearchParams({
"n": "10",
"r": "3"
}));
const data = await r.json();
console.log(data.results);
ရလဒ်များသာယေဘုယျလမ်းညွှန်မှုများအတွက်ခန့်မှန်းချက်ဖြစ်ကြသည်, မငွေကြေး, ဆေးဘက်ဆိုင်ရာသို့မဟုတ်အခွန်အကြံပေးချက်.