The height of the ball at time t is given by the formula h(t) = v_0*t - (g*t^2)/2 where v_0 it the initial velocity.