The body is fired with an initial angle theta0 and velocity v0. Show that the minimum time that it will reach the line AB is only when theta0=1/tan(alpha), where alpha is tha angle between the line AB and the horizontal.