VariationsA with repetition
Returns number of variations with repetition.
number_all_objects (n) - number all objects
number_chosed_objects (k) - number objects in variation
- numbers are converted into integer values
- number_all_objects must be greater or equal number_chosed_objects
- formula of the function: nk
VariationsA(4;2) = 16
How much possibility are available when throw 2 cubes (each 6 faces)?
VariationsA(6;2) = 36