For a certain projectile, the horizontol range is twice in magnitude of the maximum height attained by it. Find its angle of projection.

(v^2 sin2θ)/g = v^2 sin^2θ/g

2sinθ cosθ = sin^2θ
2cosθ = sinθ
tanθ = 2