How to solve trig equations sin θ 1 2 θ in 0 360