can anyone help me please .
[TABLES] Write a program that takes 6 numbers from the pool of 49 from the user. The program is to take into account the set of selected numbers. The program for the success of the draws until the time when the user selects a set of numbers selected by the user. The program shows after how many years and how many days the user has drawn the numbers (e.g. x years and x days are needed). We assume that the draw takes place every day (one draw for one day).
Answers
Answered by
0
Answer:
10
P
4
10
4
=
5040
10000
=
0.504
Explanation:
A 4 digit PIN is selected. What is the probability that there are no repeated digits?
There are 10 possible values for each digit of the PIN (namely: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9), so there are 10 × 10 × 10 × 10 = 104 = 10000 total possible PINs.
To have no repeated digits, all four digits would have to be different, which is selecting without replacement. We could either compute 10 × 9 × 8 × 7, or notice that this is the same as the permutation 10P4 = 5040.
The probability of no repeated digits is the number of 4 digit PINs with no repeated digits divided by the total number of 4 digit PINs. This probability is
Similar questions