Пермутация калькулятору (nPr)
n-ден тандалган r элементтердин тизмесин саноо.
Тирүү учурундагы натыйжалар жаңыланат.
Бул калькулятор жөнүндө
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. nPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutations
Кайра-кайра берилүүчү суроолор
Пермутация менен комбинациянын ортосунда кандай айырма бар?
Пермутацияда рационалдуу (биринчи, экинчи, үчүнчү натыйжалар ар кандай) болсо, комбинацияда андай эмес. Ар дайым комбинацияларга караганда аз дегенде бир топ пермутациялар болот.
Пермутация формуласы эмне?
nPr = n! / (n − r)!. 10 элемент үчүн 3 бир учурда алынган: 10 × 9 × 8 = 720.
Кайсы учурда пермутацияны колдонуу керек?
Эгерде тизме маанилүү болсо: бүтүрүүчүлөрдүн тизмесин түзүү, биринчи/экинчи/үчүнчү орундарды толтуруу, адамдарды катарга отургузуу же тизме кодун түзүү.
Эгерде r nден чоң болсо эмне болот?
Сизде бар элементтердин санынан ашык элементтерди жайгаштыруу мүмкүн эмес, ошондуктан натыйжа аныкталбаган жана аспап тирешти кайтарат.
nP0 деген эмне?
Бул 1 - эч нерсени жайгаштыруунун бир гана жолу бар, ал - бош жайгаштыруу.
nPn деген эмне?
Бул 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);
Бул жыйынтыктар жалпы багыттоо үчүн гана эсептелген, финансылык, медициналык же салык кеңеши эмес.