The probability that a student took either tech or foods is
![(1)/(5)](https://img.qammunity.org/2021/formulas/mathematics/high-school/nve42zwxkm2ttkh80stksgu37lazt1jlhm.png)
Solution:
In a poll of 20 high school seniors, 7 took a tech class and 12 took a foods class
3 students took both tech and foods
Therefore,
Total number of students = 20
Number of students took tech class alone = 7 - 3 = 4
Number of students took food class alone = 12 - 3 = 9
Number of students both class = 3
Thus,
Number of students took either tech or food = Total number of students - (Number of students took tech class alone + Number of students took food class alone + Number of students both class)
Number of students took either tech or food = 20 - (4+9+3)
Number of students took either tech or food = 20 - 16 = 4
To find: probability that a student took either tech or foods
![probability = \frac{\text{Number of students took either tech or food}}{\text{total number of students}}](https://img.qammunity.org/2021/formulas/mathematics/middle-school/nk33fwmjv8q8h4udd1b6ijqd4o8gbbj2fd.png)
![proability = (4)/(20) = (1)/(5)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/tt300qezoy9jg3au3r02l0i3te85cloiqn.png)
Thus probability that a student took either tech or foods is
![(1)/(5)](https://img.qammunity.org/2021/formulas/mathematics/high-school/nve42zwxkm2ttkh80stksgu37lazt1jlhm.png)