The trajectory of a projectile in a vertical plane is given by y=ax−bx², 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
A. b²/2a, tan⁻¹(b)
B. a²/b, tan⁻¹(2a)
C. a²/4b, tan⁻¹(a)
D. 2a²/b,tan⁻¹(a)