Consider a hypothetical coin where the probability of getting the previous result, is half the probability of obtaining the previous result before it was tossed. For example, let be the probability of getting heads in the coin toss, and so is the probability of getting tails in the coin toss. Then,
The coin is taken and tossed until two consecutive heads are obtained. If is the expected number of tosses to get two consecutive heads, find .
Details and Assumptions :
For the first toss, the probability of getting heads and the probability of getting tails are both 0.5.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I have written some parallel Monte-Carlo simulation.