Suppose a ball is thrown upward to a height of $h_0$ meters. After each bounce, the ball rebounds to a fraction $r$ of its previous height. Let $h_n$ be the height after the $n$th bounce. Consider the following values of $h_0$ and $r$. Complete parts (a) and (b) below.
$h_0 = 40$, $r = 0.25$
(a) Find the first four terms of the sequence of heights {$h_n$}
$h_0 = $
$h_1 = $
$h_2 = $
$h_3 = $
(Type integers or decimals rounded to three decimal places as needed)
(b) Find an explicit formula for the $n$th term of the sequence {$h_n$}
$h_n = $, $n \ge 0$
(Type your answer using exponential notation.)