.6p + 4.5 =22.5
.6p=18
P=30
The probability is 0.3, or 30%.
These are not independent events; one pill being chosen will affect the probability after that, as the pill will not be replaced before selecting the next one.
The probability of getting exactly 1 narcotic pill is given by:
(6/15)(9/14)(8/13) = 432/2730. It does not matter what order the narcotic pill is in, the overall product will be the same.
The probability of getting exactly 2 narcotic pills is given by:
(6/15)(5/14)(9/13) = 270/2730. Again, the order these are found in does not matter, as it is multiplication and will not change the product.
The probability of all 3 pills being narcotics is given by:
(6/15)(5/14)(4/13) = 120/2730.
Adding these three possibilities together, we have 822/2730 = 0.30.
For example
1>x>3
says x is less than 1 and greater than 3