A farmer is testing a new piece of equipment he has for determining whether an animal is a cow or a sheep. If a cow walks through the machine, 90% of the time it says it is a cow and 10% of the time it says it is a sheep. If a sheep walks through the machine, 95% of the time it says it is a sheep and 5% of the time it says it is a cow. The farmer has 5 cows and 36 sheep. If an animal walks through and the machine claims it is a cow, the probability that it actually is a cow is?
5/7
Using Bayes Theorem=
Probability of the selected animal being a cow × probability of the cow claiming its a cowprobability of the selected animal being a cow × probability of the cow claiming its a cow + probability selected animal being a sheep × probability of it claiming to be a cow=541 × 90100541 × 90100+ 3641 × 5100=57