Flip until heads, earn three dollars per flip
You flip a fair coin over and over until the first time it lands heads, then you stop. You earn $3 for every flip you make, including the flip that finally lands heads.
On average, how much do you earn playing this game?