Hello all,

I've been stuck for the last couple of days on this supposedly very simple probably questions:

Question:

30 widgets have been manufactured. 5 of which are known to be faulty. If 5 were randomly selected, what is the probability that exactly 3 of the 5 chosen will be faulty?

There are a total of 30-choose-5 unique combinations, I've figured out that only 3000 of these combinations contains only 3 widgets that are faulty (aka ignored combinations where 4 and 5 widgets were faulty). This gives a probability of 3000/142506 0r roughly 0.02105

I was wondering how does one figure this out using probability theory, as the above value of 3000 was found using a computer program that went through all the 30-choose-5 combinations.

Furthermore I don't think this is a binomial probability problem, as the total number of widgets is known, and the act of replacing does not occur. Assistance will be greatly appreciated.