Combination Calculator
Enter values to compute.
Result
0
combinations
Understanding the Math
The Combination Calculator (nCr) computes the result using fundamental principles of mathematics. Calculate the number of ways to choose objects.
Formula Definition
Result = function f(num){if(num<0)return -1;if(num==0)return 1;return num×f(num-1);} f(n)÷(f(r)×f(n-r))
This formula is applied directly to the inputs provided above. Ensure all units are consistent (e.g., all lengths in meters) before calculation to guarantee accuracy.
Example Problem
Given:
- Total Items (n) = 15
- Selected Items (r) = 13
Solution:
Substitute values into the formula:
Result = fu15ctio15 f(15um){if(15um<0)13etu1315 -1;if(15um==0)13etu1315 1;13etu1315 15um×f(15um-1);} f(15)÷(f(13)×f(15-13))
Quick Notes
- Double-check input units. Inconsistent units (e.g. feet vs meters) will yield incorrect results.
- Calculations are performed with high-precision floating point arithmetic.
Advertisement