The probability that exactly 18 democrats will be selected will be 0.05793...
Explanation
Total number of voters in the precinct = 350
Democrats = 250 and Republicans = 100
Total number of ways for choosing 30 voters at random from the precinct will be : [tex]^3^5^0C_{30}[/tex]
For selecting exactly 18 democrats , we need to select remaining (30-18) or 12 voters from 100 republicans.
So, the number of ways for selecting 18 democrats and 12 republicans will be : [tex]^2^5^0C_{18}*^1^0^0C_{12}[/tex]
Thus the probability [tex]= \frac{^2^5^0C_{18}*^1^0^0C_{12}}{^3^5^0C_{30}}= 0.05793...[/tex]