Vertical component of velocity at the highest point is zero.
Let body is projected with an initial velocity u making an angle θ with the horizontal. The vertical velocity at O is zero.
From v2=u2−2gh v=vy=0 and u=uy=usinθ 0=(usinθ)2−2gH ⇒H=2gu2sin2θ
Also, range = horizontal velocity × time of flight R=ux×T=(ucosθ)×g2usinθ R=gu2sin2θ
Given, H=R ∴2gu2sin2θ=gu2sin2θ 2sin2θ=2sinθcosθ cosθsinθ=4 tanθ=4 ⇒θ=tan−1(4)θ≈76∘