Answer:
Let's denote:
P(discount on 15 holidays) = P(A) = 0.87
P(discount on 100 weekends) = P(B) = 0.38
P(discount on 250 weekdays) = P(C) = 0.17
=> The probability of a discount of more than 10% for the randomly chosen day: P = P(A) x 15/360 + P(B) x 100/360 + P(C) x 250/360
= 0.87 x 15/360 + 0.38 x 100/360 + 0.17 x 250/360
= 0.26
Given she bought a machine with a discount of more than 10%, the probability that it was a weekend would be:
P = 100/(100 + 250 + 15) = 0.27
Hope this helps!
:)