Outside a home, there is a 4-key keypad numbered 1 through 4. The correct six-digit code will open the garage door. The numbers can be repeated in the code
(a) How many codes are possible?
(b) What is the probability of entering the correct code on the first try, assuming that the owner doesn't remember the code?
(a) The number of possible codes is
(Type an integer or fraction. Simplify your answer)
(b) The probability that the correct code is given on the first try, assuming that the owner doesn't remember it is
(Type an integer or fraction Simplify your answer.)

Respuesta :

Using the Fundamental Counting Theorem, it is found that:

a) 256 codes are possible.

b) The probability is [tex]\frac{1}{256}[/tex].

What is the Fundamental Counting Theorem?

It is a theorem that states that if there are n things, each with [tex]n_1, n_2, \cdots, n_n[/tex] ways to be done, each thing independent of the other, the number of ways they can be done is:

[tex]N = n_1 \times n_2 \times \cdots \times n_n[/tex]

There are 4 keys, each with 4 options, hence the parameters are:

[tex]n_1 = n_2 = n_3 = n_4 = 4[/tex].

Then the number of codes is:

[tex]N = 4^4 = 256[/tex]

And the probability is:

[tex]p = \frac{1}{256}[/tex].

More can be learned about the Fundamental Counting Theorem at https://brainly.com/question/24314866

#SPJ1