number of ways to distibute 12 balls in 3 boxes =N(select 3 balls from 12 for first box then select 4 balls from remaing 9 for 2nd box and then select 5 balls from 5 for last box)
=12C3*9C4*5C5=220*126*1 =27720
number of ways all red balls in box 1 =N(select 4 balls from remaing 9 for 2nd box and then select 5 balls from 5 for last box=9C4*5C5=126*1=126
number of ways all red balls in box 2 =N(select 1 balls from remaing 9 for 2nd box and then select 5 balls from 8 for last box)=9C1*8C5=9*56=504
number of ways all red balls in box 3 =N(select 2 balls from remaing 9 for 3rd box and then select 5 balls from 7 for 2nd box)=9C2*7C4=36*35=1260
hence P(all red balls in same box) =(126+504+1260)*100/27720 =6.81%
Problem 5. (20 pts) Consider three boxes and 12 balls, and exactly three of the balls...
b) You have three boxes. In the first box, there are 4 white balls and 2 red balls. In the second box, there are only 10 red balls and in the third box, there are 10 red balls and 5 white balls. A red ball is extracted blindly from a box chosen at random, but you don’t know from which box the ball was extracted What is the probability that the first box was chosen? What is the probability that...
1. One box contains seven red balls and three green balls, and a second box contains six red balls and four green balls. A ball is randomly selected chosen from the first box and placed in the second box. Then a ball is randomly selected from the second box and placed in the first box. a. What is the probability that a red ball is selected from the first box and a red ball is selected from the second box?...
1 One box contains seven red balls and three green balls, and a second box contains six red balls and four green balls. A ball is randomly selected chosen from the first box and placed in the second box. Then a ball is randomly selected from the second box and placed in the first box. a. What is the probability that a red ball is selected from the first box and a red ball is selected from the second box?...
2. A box contains 5 red balls, 7 white balls, and 8 black balls. Four balls are randomly chosen (without replace- ment). What is the probability that (a) 1 red ball, 2 white balls, and 1 black ball are chosen? (b) exactly two red balls are chosen? (c) the first chosen is black, the last three chosen are two white balls and one black ball?
Question 6: Representation in FOL...... Consider a world with balls and boxes, and the following relations: 15 points ball(r): x is a ball. • box (x): a is a box. • color(x, y): has color y. in(x, y): x is in y. Represent the following statements in first-order logic: 1. (2 pts) Some balls are not in any box. 2. (2 pts) Every box has some balls in it. 3. (2 pts) A ball cannot have more than one color....
Question 29 (4 points) Two boxes each contain five numbered balls: • Box 1 contains balls with numbers 3, 3, 3, 4, 5 • Box 2 contains balls with numbers 1, 1, 2, 2, 2 (a) You will randomly select one ball from each box. Let X be the difference between the numbers selected from the first and second box. Find the probability distribution of X. You can simply list the probabilities for each possible value of X instead of...
15.A box contains five red balls, three green balls, and two yellow balls. Suppose you select one ball at random from the box and do not replace it. Then you randomly select a second ball. Find the probability that both balls selected are red. 16. In a certain region, the probability of flooding in any one year is 1/4. What is the probability that it does NOT flood at all over the next five years? 17. Consider the following scores...
15. The probability of randomly selecting three balls with different colors, from a box containing five red, four white, and six black balls, without replacement is (A) 3 13 24 (B) 91 8 (C) 91 (D) 91 (E) None
Question 4 1 pts A cell phone company has three different production sites. Five percent of the cars from Site 1, 796 from Site 2, and 9% from Site 3 have been recalled due to unexpected shutdown issue Suppose that 60% of the phones are produced at Site 1, 30% at Site 2, and 10% at Site 3, If a randomly selected cell phone has been recalled, what is the probability that it came from Site 3? D Question 5...
Problem 6 10 points Consider the following simple lottery game. There are ten balls total of which five are red and numbered 1,2,3,4,5. The remaining five are blue and also numbered 1,2,3,4,5. Three balls are simultaneously pulled out from a hat, and depending on what they are, you might win a prize. () You win a teddy bear if all three balls are the same color. What is the probability of winning a teddy bear? (b) You win a baby...