the table below gives the probability density of taffies in a bag.\ntaffy banana chocolate cherry grape…

the table below gives the probability density of taffies in a bag.\ntaffy banana chocolate cherry grape vanilla\nprobability 0.21 0.19 0.16 0.13 0.31\nif a taffy is selected at random, what is the probability that it is a vanilla or banana?\nfinally, find the probability of either taffy.\np(a or b) = p(a) + p(b)\np(vanilla) = 0.31 p(banana) = 0.21\np(vanilla or banana) = ?
Answer
Explanation:
Step1: Identify the formula
We use the formula $P(A\ or\ B)=P(A)+P(B)$ for mutually - exclusive events.
Step2: Substitute the values
Here, $A$ is the event of getting a vanilla taffy with $P(A) = 0.31$, and $B$ is the event of getting a banana taffy with $P(B)=0.21$. So $P(\text{vanilla or banana})=P(\text{vanilla})+P(\text{banana})$.
Step3: Calculate the result
$P(\text{vanilla or banana})=0.31 + 0.21=0.52$
Answer:
$0.52$