The probability that a student is chosen randomly from the class plays both basketball and baseball is 4/21
Probability is the likelihood or chance that an event will occur.
Get the number of students that plays both basketball and baseball
n(U) = n(B)only + n(Ba)only + n(BnBa) + n(BuBa)'
21 = 6-x + 14-x + x + 5
21 = 25 -x
x = 25 - 21
x = 4
Hence 4 students play both basketball and baseball
Pr(basketball and baseball) = 4/21
Hence the probability that a student chosen randomly from the class plays both basketball and baseball is 4/21
Learn more on probability here; https://brainly.com/question/13604758