Probability Homework Help
- by Alon
A child is tasting two types of
chocolate.
The probability that he will like the
first type if he liked the second type
is 5/6. The probability that he will
like the second type if he liked the
first type is 3/8.
It is known that the probability that
the child won't like the second type
of chocolate is doubled than the
probability that he won't like the
first type.
What is the probability that the child
like at least one of the two type of
chocolates?
So I tried:
1-[P(not like the first type AND not like the second type)]
which is like:
1-[P(not like the first type)*P(not like first type / not like the second type) + P(not like the second type)
which equals:
P(not like first type / not like second type)
But now, I don't have the data of the conditional probability.
In addition, I'd like to see how could it solved using a computer programming language.
Any ideas?
Thank you.