The correct option is (B): 168
To find the number of ways to draw a random sample of 6 balls from the box with the condition that at most 2 red balls are included and not all 6 balls are of the same color, we can break this problem down into cases based on the number of red balls drawn.
Given:
- Total balls = 10 (3 red + 7 blue)
- Sample size = 6 balls
- Condition: At most 2 red balls in the sample, and no sample can consist of all balls of the same color.
Cases:
1. Case 1: 0 red balls and 6 blue balls (not allowed as it contains all the same color).
2. Case 2: 1 red ball and 5 blue balls.
3. Case 3: 2 red balls and 4 blue balls.
Case 2: 1 Red Ball and 5 Blue Balls
- Choose 1 red ball from 3 red balls: \(\binom{3}{1}\)
- Choose 5 blue balls from 7 blue balls: \(\binom{7}{5}\)
Calculating:
\[\binom{3}{1} = 3\]
\[\binom{7}{5} = \binom{7}{2} = \frac{7 \times 6}{2 \times 1} = 21\]
Total for Case 2:
\[3 \times 21 = 63\]
Case 3: 2 Red Balls and 4 Blue Balls
- Choose 2 red balls from 3 red balls: \(\binom{3}{2}\)
- Choose 4 blue balls from 7 blue balls: \(\binom{7}{4}\)
Calculating:
\[\binom{3}{2} = 3\]
\[\binom{7}{4} = \binom{7}{3} = \frac{7 \times 6 \times 5}{3 \times 2 \times 1} = 35\]
Total for Case 3:
\[3 \times 35 = 105\]
Total Number of Ways
Adding the results from both valid cases:
\[\text{Total} = 63 + 105 = 168\]
Conclusion
The number of ways to draw a random sample of 6 balls, meeting the conditions specified, is **168**.
So, the correct answer is 168.
Based upon the results of regular medical check-ups in a hospital, it was found that out of 1000 people, 700 were very healthy, 200 maintained average health and 100 had a poor health record.
Let \( A_1 \): People with good health,
\( A_2 \): People with average health,
and \( A_3 \): People with poor health.
During a pandemic, the data expressed that the chances of people contracting the disease from category \( A_1, A_2 \) and \( A_3 \) are 25%, 35% and 50%, respectively.
Based upon the above information, answer the following questions:
(i) A person was tested randomly. What is the probability that he/she has contracted the disease?}
(ii) Given that the person has not contracted the disease, what is the probability that the person is from category \( A_2 \)?