Master Solving a trigonometric equation using double angle formulas