Probability Homework Help

Posted by Alon on Stack Overflow See other posts from Stack Overflow or by Alon
Published on 2010-04-18T13:20:11Z Indexed on 2010/04/18 13:23 UTC
Read the original article Hit count: 498

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about homework

Related posts about probability