In: Statistics and Probability
a) P(coin selected is trick coin) = 1/100 = 0.01
b) P(landing heads for all 7 times) = P(trick coin is selected and landed head all 7 times) + P(normal coin is selected and landed head all 7 times)
= 1/100 * 1 + 99/100 * (1/2)7
= 0.0177
P(trick coin is selected | landed heads for all 7 times) = P(trick coin is selected and landed head all 7 times) / P(landing heads for all 7 times)
= (1/100) / 0.0177
= 0.565