Part 3 will be a permutation and combination of sets. Is it useful when making a matrix in terms of programs?
When you roll the dice, there are 6 different numbers of rolls, and when you flip a coin toss, the number of front and back rolls is There are two ways, like this, the number that can occur is called __the number of cases __.
Here's how to find the number of cases. --Rule of product (If each probability can occur at the same time, it is calculated by multiplication) --Rule of sum (If each probability can occur independently, it is calculated by addition)
How many patterns of 3-digit numbers are there using natural numbers from 1 to 5? However, the same number is in one combination Do not enter. Such a problem can be solved as follows.
__ Permutation = nPr__
In the upper example, n is 5 and r is 3.
Recommended Posts