A bag contains 24 mangoes out of which six are bad. If 6 mangoes are selected randomly from the bag with replacement, find the probability that not more than 3 are bad.
The probability of selecting a bad mango from the bag is 6/24 = 1/4. This means that the probability of selecting a good mango is 3/4.
To find the probability that not more than 3 mangoes are bad, we need to consider four cases: selecting 0 bad mangoes, selecting 1 bad mango, selecting 2 bad mangoes, or selecting 3 bad mangoes.
Case 1: Selecting 0 bad mangoes
The probability of selecting a good mango on the first draw is 3/4. This probability remains the same for each of the 6 mangoes that are selected. Therefore, the probability of selecting 0 bad mangoes is (3/4)^6 = 0.1771.
Case 2: Selecting 1 bad mango
There are 6 ways to select 1 bad mango out of 6 mangoes, and 5 ways to select 5 good mangoes out of the remaining 18 mangoes. Therefore, the probability of selecting 1 bad mango is (6/24) * (18/24)^5 * 6 = 0.3934.
Case 3: Selecting 2 bad mangoes
There are 15 ways to select 2 bad mangoes out of 6 mangoes, and 4 ways to select 4 good mangoes out of the remaining 18 mangoes. Therefore, the probability of selecting 2 bad mangoes is (15/24)^2 * (9/24)^4 * 15 = 0.3147.
Case 4: Selecting 3 bad mangoes
There are 20 ways to select 3 bad mangoes out of 6 mangoes, and 3 ways to select 3 good mangoes out of the remaining 18 mangoes. Therefore, the probability of selecting 3 bad mangoes is (6/24)^3 * (18/24)^3 * 20 = 0.0983.
The total probability of not selecting more than 3 bad mangoes is the sum of the probabilities of these four cases: 0.1771 + 0.3934 + 0.3147 + 0.0983 = 0.9835.
Therefore, the probability of not more than 3 bad mangoes being selected is 0.9835 or approximately 98.35%.