ម៉ាស៊ីនគិតលេខការផ្លាស់ប្ដូរ (nPr)
រាប់ការរៀបចំតាមលំដាប់នៃធាតុ r ដែលបានជ្រើសពី n & # 160; ។
លទ្ធផលធ្វើឲ្យទាន់សម័យតាមដែលអ្នកវាយ & # 160; ។
អំពីម៉ាស៊ីនគិតលេខនេះ
you choose 10 items, you can choose 10 items, and if r is greater than n, the calculator returns the exact count and the formula it used. If r is smaller than n, the calculator returns the exact count and the formula it used. If r is larger than n, the calculator returns the exact count and the formula it used. If r is smaller than n, the calculator returns the exact count and the formula it used. If r is larger than n, the calculator returns the exact count and the formula it used. If r isPermutationsPermutations answer "how many ordered sequences?" — the number of possible race finishes, seating orders, PIN codes or ranked shortlists. When order matters, useaPermutationPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutations
សំណួរដែលសួរញឹកញាប់
តើអ្វីជាភាពខុសគ្នារវាងការផ្លាស់ប្ដូរនិងការរួមបញ្ចូលគ្នា & # 160;?
ក្នុងលំដាប់ការផ្លាស់ប្ដូរបញ្ហា (ដំបូងទីពីរទីបីគឺលទ្ធផលខុសគ្នា) ក្នុងការរួមបញ្ចូលគ្នាវាមិនធ្វើបានទេ & # 160; ។ មានជានិច្ចយ៉ាងហោចណាស់ការផ្លាស់ប្ដូរច្រើនដូចជាការរួមបញ្ចូលគ្នា & # 160; ។
តើអ្វីជារូបមន្តការផ្លាស់ប្ដូរ?
nPr = n! / (n − r)! ។ សម្រាប់ 10 ធាតុបានយក3នៅពេល: 10 ×9× 8 = 720 ។
ពេលណាខ្ញុំគួរប្រើការផ្លាស់ប្ដូរ?
នៅពេលដែលការបញ្ជាទិញសំខាន់: ចំណាត់ថ្នាក់ finishers, បំពេញទីកន្លែងដំបូង / លើកទីពីរ / ទីបី, អង្គុយមនុស្សនៅក្នុងជួរ, ឬការសាងសង់កូដបានបញ្ជា.
តើមានអ្វីកើតឡើងប្រសិនបើ r ធំជាង n & # 160;?
អ្នកមិនអាចរៀបចំធាតុច្រើនជាងអ្នកមានទេ ដូច្នេះលទ្ធផលមិនត្រូវបានកំណត់ ហើយឧបករណ៍ត្រឡប់សញ្ញាព្រួញ & # 160; ។
តើអ្វីជា nP0?
វាគឺ 1 — មានវិធីតែមួយគត់ដើម្បីរៀបចំគ្មានអ្វីទាំងអស់ ការរៀបចំទទេ & # 160; ។
តើអ្វីជា nPn?
វាស្មើនឹង n!, ដោយសារតែរៀបចំធាតុទាំងអស់ n ក្នុងលំដាប់គឺដូចគ្នាដូចជា factorial ពេញលេញ. ឧទាហរណ៍ 4P4 =4! = 24.
API — ប្រើម៉ាស៊ីនគិតលេខនេះពីកូដ
ទូរស័ព្ទទៅម៉ាស៊ីនគិតលេខនេះជាចំណុចបញ្ចប់ JSON ឥតគិតថ្លៃ - គ្មានគ្រាប់ចុចដែលត្រូវការ & # 160; ។ ផ្ញើតម្លៃវាលខាងក្រោមជាប៉ារ៉ាម៉ែត្រសំណួរ ឬ JSON & # 160; ។ អានឯកសារ 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);
លទ្ធផលគឺការប៉ាន់ប្រមាណសម្រាប់តែការណែនាំទូទៅប៉ុណ្ណោះ, មិនហិរញ្ញវត្ថុ, វេជ្ជសាស្ត្រឬដំបូន្មានពន្ធ.