Gunmo said:Could you have a look new attachment please.
Thank you for finding error in attachment
Gunmo said:Yes, this is actually about probability.
Gunmo said:Not sure yet, this eventually
Sigma ( x * k^x) 0<k<1 x = 1, 2, 3, 4, 5....n=infinite
x is approach infinite,
k^x approach 0.
The answer is, 1/k.
StoneTemplePython said:## E[X] = 1 + (1-p)E[X]##
Then solve for ##E[X]##
.
Charles Link said:@PeroK : Please read my post #10. I don't think it is binomial. As @StoneTemplePython says, here the OP's problem is to calculate the expected number of coin flips until heads occurs, given that heads occurs with probability p. (The OP's formula is not calculating the probability of ## k ## successes in ## n ## trials, nor the mean number of successes of a binomial distribution.) ## \\ ## Note: The "trick" that is most readily employed in solving this one is essentially the same one (taking a derivative w.r.t. ## p ##) in solving the mean ## k ## for a binomial, but this one is not the binomial distribution.
PeroK said:If this isn't a binomial distribution I don't know what is. True, you are calculating the mean time to get the first occurrence, but it's clearly a binomial.