Ҳисобкунандаи мубодила
Ҳисоб кардани тартиботи тартиботи r элементҳои интихобшуда аз n.
Натиҷаҳо ҳангоми навиштан нав карда мешаванд.
Дар бораи ин ҳисобкунак
you choose 10 items, the calculator returns the exact number of items you can arrange. If r is greater 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 r is smaller than n, the calculator returns a dash. If r is smaller than n, the calculatorPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutations
Саволҳои маъмул
Фарқият байни пермутатсия ва ҳамроҳӣ дар чист?
Дар пермутация тартиб аҳамият дорад (якум, дуюм, саввум натиҷаҳои гуногун мебошанд); дар комбинация ин аҳамият надорад. Ҳамеша камаш ҳамон қадар пермутацияҳо ба монанди комбинацияҳо мавҷуданд.
Формулаҳои пермутатсия
nPr = n! / (n − r)!. Барои 10 объект, ки 3- ро дар як вақт мегиранд: 10 × 9 × 8 = 720.
Чӣ вақт бояд ман пермутасияро истифода барам?
When order matters: ranking finishers, filling first/second/third places, seating people in a row, or building an ordered code.
Агар r аз n калонтар бошад, чӣ рӯй медиҳад?
Шумо наметавонед зиёдтар аз миқдори мавҷуда объектҳоро тартиб диҳед, бинобар ин натиҷа муайян нашудааст ва асбоб аломати хатро бар мегардонад.
Нп0 чист?
1-ум, ки дар он барои ифодаи аломати 1-ум аломати 1-ум истифода мешавад.
Нпн чист?
Он ба n! баробар аст, чунки тартиб додани ҳамаи n элементҳо дар тартибот ба факториали пурра баробар аст. Масалан 4P4 = 4! = 24.
API — истифодаи ин ҳисобкунак аз рамз
Ин ҳисобгарро ҳамчун нуқтаи охирини JSON озод даъват кунед - ягон калид лозим нест. Қимматҳои заминаро дар поён ҳамчун параметрҳои пурсиш ё JSON фиристед. Хондани ҳуҷҷати пурраи 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);
Ин натиҷаҳо танҳо барои маслиҳати умумӣ, на маслиҳати молиявӣ, тибби ё андозӣ мебошанд.