We have 18 students,
There are 11 math majors and 7 computer science majors.
We need to find the probability that randomly selecting four persons in the group will result in three math majors and 1 computer science major.
Now,
For select 3 math majors of 11, we use a combination:
11C3
Where the formula is given by:
![\text{nCr}=(n!)/((n-r)!r!)](https://img.qammunity.org/2023/formulas/mathematics/college/6t01zigmi1xm5qduua5v5dqd8pa1gxotxh.png)
Where n is the number of the total group and r the sample:
Then:
![11C3=(11!)/(3(11-7)!)=165](https://img.qammunity.org/2023/formulas/mathematics/college/bplh9c8dehwwkhsirci183neosn33m9kjo.png)
Now, for the selection 1 computer science major of 7:
n=7 and r=1
![7C1=(7!)/(1!(7-1)!)=7](https://img.qammunity.org/2023/formulas/mathematics/college/853g9r1o223sgehogfzaz8aps32s5e839j.png)
Now, the selection 4 persons of the group of 18 students:
18C4, where n=18 and r=4
![18C4=(18!)/(4!(18-4)!)=3060](https://img.qammunity.org/2023/formulas/mathematics/college/retu1u7eiuixyte7n0wbfcig24vgm35cgm.png)
The probability of the chose three math majors and 1 computer science major, is given by:
![P=(7C1\cdot11C3)/(18C4)=(7\cdot165)/(3060)](https://img.qammunity.org/2023/formulas/mathematics/college/7ybck45ewqmm8gbdv2xi4q21a3tqlpr2mu.png)
Therefore:
![P=0.38](https://img.qammunity.org/2023/formulas/mathematics/college/1v5i29zeltt4kna3sbilz6qjlzgms95qng.png)