The height of the ball at time t is given by the formula h(t)=v0t−gt22 where v0 is the initial velocity.