Step-by-step explanation:
If a cannonball is shot directly upward with a velocity of 160 ft per second. Its height as a function of time is given by :
.......(1)
t is in seconds
(a) Velocity is given by :
Acceleration is given by :

(b) For maximum height put 
i.e.

Put t = 5 s in equation (1). So,

(c) When the ball reaches ground, its height is equal to 0. So,
h(t) = 0

Hence, this is the required solution.