ម៉ាស៊ីន​គិតលេខ​បន្សំ (nCr)

រាប់​វិធី​ដើម្បី​ជ្រើស​ធាតុ r ពី n ពេល​លំដាប់​មិន​សំខាន់​ទេ ។

ការ​រួម​បញ្ចូល​គ្នា (nCr) —
រូបមន្ត —
ការ​រៀបចំ​តាម​លំដាប់ (nPr) —

លទ្ធផល​ធ្វើ​ឲ្យ​ទាន់សម័យ​តាម​ដែល​អ្នក​វាយ ។

តើ​ម៉ាស៊ីន​គិតលេខ​នេះ​បាន​ផ្ដល់​ចម្លើយ​ត្រឹមត្រូវ​ដល់​អ្នក​ឬ ?

អំពី​ម៉ាស៊ីន​គិតលេខ​នេះ

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?

សមាសធាតុ​មិន​អើពើ​លំដាប់, ដូច្នេះ​ក្រុម​មិន​បាន​រៀប​រៀង​រាល់​ផ្គូផ្គង​ទៅ​នឹង r! លំដាប់​ permutations. ហេតុ​នេះ​ហើយ​បាន​ជា nCr = nPr ÷ r!.

ពេលណា​ខ្ញុំ​គួរ​ប្រើ​ការ​ផ្សំ​?

ពេល​ដែល​លំដាប់​មិន​សំខាន់​ទេ​ ៖ លេខ​ឡូតូ ដៃ​បៀ ជ្រើស​គណៈកម្មការ ឬ​ជម្រើស​ណាមួយ​ដែល​ក្រុម​គឺ​ជា​អ្វី​ដែល​រាប់​មិន​មែន​ការ​រៀបចំ​របស់​វា​ទេ ។

តើ​អ្វី​ជា​សមាមាត្រ​ប៊ីនូមីម​?

វា​ជា​ឈ្មោះ​ផ្សេង​ទៀត​សម្រាប់ nCr តម្លៃ "n ជ្រើស r" ដែល​លេចឡើង​ក្នុង​ទ្រឹស្តី​ពីរ​និមិត្ត​សញ្ញា និង​បង្កើត​ធាតុ​នៃ​ត្រីកោណ​របស់ Pascal ។

តើ​អ្វី​ជា nC0 ឬ nCn?

ទាំង​ពីរ​ស្មើ​នឹង ១ — មាន​វិធី​មួយ​ដើម្បី​ជ្រើស​គ្មាន​ទេ និង​វិធី​មួយ​ដើម្បី​ជ្រើស​ពួក​គេ​ទាំងអស់ ។

តើ​ឧបករណ៍​នេះ​បង្ហាញ​ការ​ផ្លាស់ទី​ដែរ​ឬទេ ?

បាទ. វាបង្ហាញ nPr = nCr × r! ក្បែរការរួមបញ្ចូលគ្នាដូច្នេះអ្នកអាចប្រៀបធៀបចំនួនដែលបានបញ្ជានិងមិនបញ្ជា.

❤️ ស្នេហា Calculator.Free? ចែករំលែក​វា

𝕏  X Facebook Reddit
API — ប្រើ​ម៉ាស៊ីន​គិតលេខ​នេះ​ពី​កូដ

ទូរស័ព្ទ​ទៅ​ម៉ាស៊ីន​គិតលេខ​នេះ​ជា​ចំណុច​បញ្ចប់ JSON ឥតគិតថ្លៃ - គ្មាន​គ្រាប់ចុច​ដែល​ត្រូវការ ។ ផ្ញើ​តម្លៃ​វាល​ខាងក្រោម​ជា​ប៉ារ៉ាម៉ែត្រ​សំណួរ ឬ JSON ។ អ្វី​ដែល​អ្នក​រំលង​ប្រើ​លំនាំដើម​ដូចគ្នា​ដែល​ទំព័រ​នេះ​ត្រូវ​បាន​បំពេញ​ជាមុន​ជាមួយ​ប៉ារ៉ាម៉ែត្រ​មិន​ស្គាល់​គឺ ៤០០ មិន​មែន​សូន្យ​ស្ងាត់​ទេ ។ អាន​ឯកសារ 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);

លទ្ធផលគឺការប៉ាន់ប្រមាណសម្រាប់តែការណែនាំទូទៅប៉ុណ្ណោះ, មិនហិរញ្ញវត្ថុ, វេជ្ជសាស្ត្រឬដំបូន្មានពន្ធ.