Answer:
P = 2/13
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:
[tex]P=\frac{4}{26}=\frac{2}{13}=0.154[/tex]Because 4 out of 26 students play both sports.
So, the answer is P = 2/13