حاسوب للتبديل (nPr)
عد الترتيبات المرتبة لـ r من البنود المختارة من n.
النتائج تحديث كما تكتب.
عن هذه الحاسبة
you choose 10 items, you can choose 10 items, and if r is greater than n, the tool 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. If rPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutations
الأسئلة المتكررة
ما هو الفرق بين التبديل والتجميع؟
في عملية التبديل، يهم الترتيب (الأول والثاني والثالث هي نتائج مختلفة)؛ وفي عملية الجمع، لا يهم الترتيب. فهناك دائماً على الأقل عدد من عمليات التبديل يعادل عدد المجموعات.
ما هي صيغة التبديل؟
nPr = n! / (n - r)! بالنسبة لـ 10 بنود تؤخذ 3 في كل مرة: 10 × 9 × 8 = 720.
متى يجب أن أستخدم التغيير؟
عندما يكون الترتيب مهما: ترتيب المنتهيين، ملء الأماكن الأولى / الثانية / الثالثة، الجلوس في صف، أو بناء رمز منظم.
ماذا يحدث إذا كان r أكبر من n؟
لا يمكنك ترتيب أكثر من البنود التي لديك، لذلك النتيجة غير محددة ويعطي الأداة شريحة.
ما هو nP0؟
فهي ١ - هناك طريقة واحدة تماما لترتيب شيء ما، وهي الترتيب الفارغ.
ما هو nPn؟
وهو يساوي n!، لأن ترتيب جميع n البنود في الترتيب هو نفس العوامل الكاملة. على سبيل المثال 4P4 = 4! = 24.
API - استخدام هذا الحاسب من الشفرة
استدعاء هذه الحاسبة كنقطة نهاية JSON مجانية - لا مفتاح مطلوب. إرسال قيم الحقل أدناه كبارامترات الاستفسار أو JSON. أي شيء تحذفه يستخدم نفس الافتراض الذي تم ملء هذه الصفحة مسبقاً به؛ البارامترات غير المعروفة هي 400، لا صفر صامت أبداً. اقرأ كامل وثائق 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);
النتائج هي تقديرات للتوجيه العام فقط، وليس المشورة المالية أو الطبية أو الضريبية.