in a certain algebra 2 class of 27 students, 6 of them play basketball and 18 of them play baseball. there…

in a certain algebra 2 class of 27 students, 6 of them play basketball and 18 of them play baseball. there are 5 students who play neither sport. what is the probability that a student chosen randomly from the class plays basketball or baseball?
Answer
Explanation:
Step1: Find number of students who play either sport
Total students = 27, students who play neither = 5. So number of students who play either sport is $27 - 5=22$.
Step2: Calculate the probability
Probability = $\frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}}$. Here, favorable outcomes are students who play basketball or baseball (22) and total number of students is 27. So probability = $\frac{22}{27}$.
Answer:
$\frac{22}{27}$