These “there are 6 red gumballs and 4 blue in a jar, you pick two, what’s the likelihood of getting two blue ones?” type questions are a type of conditional probability.

In the above example, you’d have a 4/10 chance the first time, and then a 3/9 chance the second. So .

Solve this problem

  • DONE Completed: 2024-09-11 Thanks chatgpt A pharmaceutical company receives large shipments of ibuprofen tablets and uses this acceptance sampling plan: randomly select and test 30 tablets, then accept the whole batch if there is at most one that doesn’t meet the required specifications. If a particular shipment of thousands of ibuprofen tablets actually has a 9% rate of defects, what is the probability that this whole shipment will be accepted?

P(accept shipment) = .9390 Actual: .2343

This uses binomial distribution.

Given we have 30 tablets, n=30. We choose k=1. Given a probability of defect of 0.09, success likelihood is 1-.09=0.91

So probability of 1 positive among the 30 options is:

And the probability there are no errors:

so in total: .1755 + .059 = .2345