Máy tính toán biến đổi (nPr) Name
Đếm các sắp xếp có thứ tự của r mục được chọn từ n.
Kết quả cập nhật khi bạn gõ.
Về máy tính này
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
Câu hỏi thường gặp
Sự khác biệt giữa một sự thay thế và một sự kết hợp là gì?
Trong một chuỗi thay thế, thứ tự quan trọng (đầu tiên, thứ hai, thứ ba là kết quả khác nhau); trong một tổ hợp thì không. Luôn luôn có ít nhất là nhiều thay thế như là tổ hợp.
Công thức thay thế là gì?
nPr = n! / (n − r)!. Đối với 10 mục được lấy 3 lần: 10 × 9 × 8 = 720.
Khi nào tôi nên dùng sự thay đổi?
Khi thứ tự quan trọng: xếp hạng người hoàn thành, lấp đầy vị trí đầu tiên / thứ hai / thứ ba, ngồi người trong một hàng, hoặc xây dựng một mã được sắp xếp.
Chuyện gì sẽ xảy ra nếu r lớn hơn n?
Bạn không thể sắp xếp nhiều mục hơn số bạn có, vì vậy kết quả không được định nghĩa và công cụ trả về một dấu gạch ngang.
NP0 là gì?
Nó là 1 — có chính xác một cách để sắp xếp không có gì, sắp xếp rỗng.
NPN là gì?
Nó bằng n!, vì sắp xếp tất cả n mục theo thứ tự tương tự như một số nhân đầy đủ. Ví dụ 4P4 = 4! = 24.
API — dùng máy tính này từ mã
Gọi máy tính này như một điểm cuối JSON miễn phí — không cần chìa khóa. Gửi giá trị trường dưới như tham số yêu cầu hoặc JSON. Đọc toàn bộ tài liệu API →
Điểm kết thúc
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);
Kết quả là ước tính chỉ cho hướng dẫn chung, không phải là tư vấn tài chính, y tế hoặc thuế.