เครื่องคิดเลขการเปลี่ยนแปลง (nPr) Name
นับการจัดเรียงของ 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 the exact number of items you can arrange. If r is smaller than n, the calculator returns the exact number of items you can arrange. If r is larger than n, the calculator returns the exact number of items you can arrange. If r is smaller than n, the calculator returns the exact number of items you can arrange. If r is larger than n, the calculator returns the exact number of items you canPermutationsPermutations answer "how many ordered sequences?" — the number of possible race finishes, seating orders, PIN codes or ranked shortlists.PermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutationsPermutations
คำถามที่ถามบ่อย
อะไรคือความแตกต่างระหว่าง การเปลี่ยนแปลงและการรวมกัน
ในการเปลี่ยนแปลงลำดับ (ครั้งแรก, ครั้งที่สอง, ครั้งที่สาม เป็นผลลัพธ์ที่แตกต่างกัน) ในการรวมกันมันไม่สำคัญ มีอย่างน้อยก็เท่ากับการเปลี่ยนแปลงจำนวนมากเช่นการรวมกันเสมอ
อะไรคือสูตรการเปลี่ยนแปลง?
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);
ผลลัพธ์เป็นเพียงการประมาณการ สำหรับคำแนะนำทั่วไปเท่านั้น ไม่ใช่การเงิน การรักษา หรือคำแนะนำเกี่ยวกับภาษี