A type battery is in working condition with probability P(W|) = 8/10, whereas a type battery is in working condition with probability P(W|) = 3/10. A battery is selected randomly from a bin consisting of 9 type and 7 type batteries. P() = 9/16, P() = 7/16.
A) What is the probability that the selected battery works? Explain your answer.
B) Given that the selected battery does NOT work, what is the conditional probability that it is a type battery? Hint: start with finding P(bar(W)|) and P(bar(W)|). Explain your answer.