f(t) = -4.9t² + 24t + 8
a) The maximum height of the ball is given by the value of the function of the vertex of its parabola
For any quadractic function g(x) = ax² + bx + c, its vertex is given by:

Then, the maximum heigt of the ball is given by:

b) When f(t) = 0, we have:
![\begin{gathered} -4.9t^2+24t+8=0 \\ t_{}=\frac{-24\pm\sqrt[]{24^2-4\cdot(-4.9)\cdot8}}{2\cdot(-4.9)} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/957so53cyrvsgauadg1mju2mpnzrrc7x8g.png)
The only positive value is 5.2 (rounded)
Therefore, the ball hit the ground after 5.2 seconds