A projectile is fired at an angle 0 with the horizontal with velocity v. Derive the expression for maximum height attained by it

Maximum height—It is the maximum vertical height attained by the object above the point of projection during its flight. It is denoted by h. Taking the vertical upward motion of the object from O to H; we have