The formula is v2sin2θg
And the sine graph is highest at 1 with its inverse as 90°. Hence, 2θ = 90°
θ = 45°