Given data
The duration of the ball traveled is t = 3 s
The expression for the vertical distance is given as:
The acceleration due to gravity is taken as g.
Substitute the value in the above equation.
Thus, the vertical distance is 45 m.
Thus, the correct option is (c).