ຕົວຄິດໄລ່​ການ​ປ່ຽນ​ແປງ (nPr)

ຄິດໄລ່​ການ​ຈັດ​ລຽງ​ຂອງ​ສິ່ງ​ທີ່​ເລືອກ​ຈາກ n

ປ່ຽນ​ແປງ —
ຮູບ​ແບບ —

ຜົນ​ການ​ຄົ້ນ​ຫາ​ຈະ​ຖືກ​ອັບເດດ​ເມື່ອ​ທ່ານ​ພິມ​ມັນ​ຂຶ້ນ​ມາ ។

ຕົວຄິດໄລ່ນີ້ໄດ້ໃຫ້ຄໍາຕອບທີ່ຖືກຕ້ອງກັບທ່ານບໍ?

ກ່ຽວ​ກັບ​ເຄື່ອງ​ຄິດໄລ່​ນີ້

A permutation counts how many ways you can arrange r items chosen from a set of n, where order matters — so first, second and third place are three different outcomes. This calculator returns the exact count and the formula it used, even for large n and r.

The formula is nPr = n! / (n − r)!, which is the same as multiplying the top r numbers counting down from n. For 10 items taken 3 at a time, that is 10 × 9 × 8 = 720. Choosing none gives nP0 = 1, and arranging all of them gives nPn = n!. You cannot choose more items than you have, so if r is greater than n the tool returns a dash.

Permutations answer "how many ordered sequences?" — the number of possible race finishes, seating orders, PIN codes or ranked shortlists. When order does not matter, use a combination instead, which is always the smaller count.

ຄໍາຖາມທີ່ຖາມເລື້ອຍໆ

ມີຄວາມແຕກຕ່າງກັນລະຫວ່າງການປ່ຽນແທນ ແລະ ການລວມກັນແມ່ນຫຍັງ?

ໃນ​ການ​ປ່ຽນ​ຕຳແໜ່ງ ລະຫັດ​ແມ່ນ​ສຳຄັນ (ຄັ້ງ​ທຳອິດ, ຄັ້ງ​ທີສອງ, ຄັ້ງ​ທີສາມ​ແມ່ນ​ຜົນ​ທີ່​ແຕກ​ຕ່າງ​ກັນ) ໃນ​ການ​ລວມ​ເຂົ້າ​ກັນ​ມັນ​ບໍ່​ເປັນ​ແນວ​ນັ້ນ​ເລີຍ. ​ມີ​ການ​ປ່ຽນ​ຕຳ​ແໜ່ງ​ຫຼາຍ​ເທົ່າ​ທີ່​ການ​ລວມ​ເຂົ້າ​ກັນ​ນັ້ນ​ເປັນ​ປົກກະຕິ​ແລ້ວ.

ວິທີການ​ປ່ຽນ​ແປງ​ແບບ​ຟອມ​ແມ່ນ​ຫຍັງ?

nPr = n! / (n − r)!. ສໍາລັບ 10 ລາຍການທີ່ໃຊ້ເວລາ3ໃນເວລາ: 10 ×9× 8 = 720.

ເມື່ອໃດທີ່ຂ້ອຍຄວນໃຊ້ການປ່ຽນແທນ?

ເມື່ອຄໍາສັ່ງມີຄວາມສໍາຄັນ: ຈັດອັນດັບຜູ້ສໍາເລັດ, ເຕັມທີ່ທໍາອິດ / ສອງ / ສາມບ່ອນ, ນັ່ງຄົນໃນແຖວ, ຫຼືສ້າງລະຫັດຕາມຄໍາສັ່ງ.

ຈະເປັນແນວໃດຖ້າວ່າ r ໃຫຍ່ກວ່າ n?

ທ່ານ​ບໍ່​ສາມາດ​ຈັດ​ແຈງ​ສິ່ງ​ທີ່​ຫຼາຍ​ກວ່າ​ທີ່​ທ່ານ​ມີ​ໄດ້, ສະນັ້ນ​ຜົນ​ທີ່​ໄດ້​ມາ​ບໍ່​ໄດ້​ຖືກ​ກຳນົດ ແລະ ເຄື່ອງມື​ຈະ​ສົ່ງ​ຄືນ​ການ​ຢຸດ​ຊົ່ວຄາວ​ຄືນ​ມາ.

ອັນໃດແມ່ນ nP0?

ມັນ​ແມ່ນ 1 - ມີ​ວິທີ​ດຽວ​ທີ່​ຈະ​ຈັດ​ວາງ​ບໍ່​ມີ​ຫຍັງ​ເລີຍ, ການ​ຈັດ​ວາງ​ທີ່​ວ່າງ.

nPn ແມ່ນຫຍັງ?

ມັນເທົ່າກັບ n!, ຍ້ອນວ່າການຈັດການທັງຫມົດ n ລາຍການໃນຄໍາສັ່ງແມ່ນຄືກັນກັບ factorial ເຕັມ. ຕົວຢ່າງ 4P4 =4! = 24.

❤️ ຮັກ Calculator.Free? ແບ່ງປັນ

𝕏  X Facebook Reddit
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);

ຜົນໄດ້ຮັບແມ່ນຄາດຄະເນສໍາລັບຄໍາແນະນໍາທົ່ວໄປເທົ່ານັ້ນ, ບໍ່ການເງິນ, ຄໍາແນະນໍາທາງການແພດຫຼືພາສີ.