Coin 1 is fair and coin 2 has probability of heads $3 / 4$. A test involves flipping a coin repeatedly until the first occurrence of heads. The number of tosses is observed.
(a) Can you design a test to determine whether the fair coin is in use? Assume $\alpha=5 \%$. What is the probability of detecting the biased coin?
(b) Repeat part a if the biased coin has probability $1 / 4$.