I have the following question :
It costs $30$ cents per day to keep pigeons. Let $N$ be the number of pigeons kept and suppose that $N$ has the geometric distribution $Pr(N=n) = \frac1{10} (\frac9{10})^n (n=0,1,\dots).$
Which yields $30*\frac{0.9}{0.1} = 270=\$2.7$
That is fine. Now I have the one I don't know how to solve :
Now suppose that they cost $35$ cents per head except for the first three which remain at $30$ cents per head. What is the expected cost per day.
I have tried numerous things but I can't get their answer, I don't want to type all of these up because my table pc is slow. I have tried taking the difference between the first three against expected for the new price $35 * 9$ and calculating them all.
I have their solution but do not understand it:
$=5(9-3 + \frac3{10} + \frac2{10}(\frac9{10}) + \frac1{10}(\frac9{10})^2) = \frac{6561}{200} = 32.805$