A coin with probability p of Heads is flipped n times. The sequence of outcomes can be
Chapter 4, Problem 48(choose chapter or problem)
A coin with probability p of Heads is flipped n times. The sequence of outcomes can be divided into runs (blocks of Hs or blocks of Ts), e.g., HHHTTHTTTH becomes HHH T T H TTTT H , which has 5 runs. Find the expected number of runs. Hint: Start by finding the expected number of tosses (other than the first) where the outcome is dierent from the previous one.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer