166k views
5 votes
program that generates two random numbers between one and 11. what is the probability that both values will be more than 7? numbers can repeat.

1 Answer

5 votes

Answer:

1/9

Explanation:

The numbers between 1 and 11 are:

2, 3, 4, 5, 6, 7, 8, 9, 10

There are 9 numbers.

Of the 9 numbers, 8, 9, and 10 are greater than 7, so there are 3 numbers greater than 7.

p(number greater than 7) = 1/3

p(>7) = 1/3

Each time a number is selected, the probability it is greater than 7 is 1/3.

For two numbers, you have two independent events, so the overall probability is the product of the individual probabilities.

p(>7 then >7) = p(>7) * p(>7) = 1/3 * 1/3 = 1/9

User PBulls
by
3.4k points