Consider this situation:
The computer will randomly output 1 or 0, the probability of each one is 1/2.
The computer will continuously output until the number of 1 reaches 100.
Now,the number of 0 will be 1 or 2 or 3 or ...
My question is the expected number of 0s.
There is another explanation:
Let N be the number of zeros before there are a hundred ones
I just want to know the expected value of N )
Maybe it does not meet the definition, I just want to say----which number of 0 is the most possible?
I do this question with the binormial distribution,I think it's may be
However,I don't know how to deal with it.
On the other hand, I'm not sure , I think my method is strange...