The trajectory of a projectile in a vertical plane is , where a and b are constants and x and y are, respectively, horizontal and vertical distances of the projectile from the point of projection. The maximum height attained by the particle and the angle of projection from the horizontal are