Given data
The duration of the ball traveled is t = 3 s
The expression for the vertical distance is given as:
[tex]S=\frac{1}{2}gt^2[/tex]The acceleration due to gravity is taken as g.
Substitute the value in the above equation.
[tex]\begin{gathered} S=\frac{1}{2}\times10m/s^2\times(3s)^2 \\ S=45\text{ m} \end{gathered}[/tex]Thus, the vertical distance is 45 m.
Thus, the correct option is (c).