The trajectory of a projectile in a vertical plane is y=ax−bx2, 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