Answer:
P = 2/13
Step-by-step explanation:
2 students from 26 that play neither sport. So, 24 students play basketball or baseball because:
26 - 2 = 24
Then, 21 of them play basketball and 7 of them play baseball. It means that 21 added to 7 less the number of students who play both sports equals 24. So:
21 + 7 - x = 24
Where x is the number of students that play both sports.
Solving for x, we get:
28 - x = 24
x = 28 - 24
x = 4
It means that 4 students play both basketball and baseball.
Therefore, the probability that a student chosen randomly from the class plays both sports is:
![P=(4)/(26)=(2)/(13)=0.154](https://img.qammunity.org/2023/formulas/mathematics/college/ejdqxz1zon9n0qht72d5tg1nex9r5vh0uj.png)
Because 4 out of 26 students play both sports.
So, the answer is P = 2/13