>>566
0=sin2θ+2cosθ
=2sinθcosθ+2cosθ
=2cosθ(sinθ+1)