A ball is dropped from a height of $20 \, \mathrm{m}$. It rebounds to a height of $16 \, \mathrm{m}$ and continues to rebound to eight-tenths of its previous height for subsequent bounces.
Calculate the total distance the ball travels before it comes to rest.
How do you answer this question?
I'm using the formula $$ S_n = \frac{a(1-r^n)}{1-r}, \qquad r\lt 1 $$ I believe that the variables: $$ \begin{align} a &= 20 \\ r &= 0.8 \\ n &= \text{undefined} \end{align} $$ The answer is meant to equal $100 \, \mathrm{m}$ so, $S_n = 100 \, \mathrm{m}$.
Please help.
Thank you in advance.