Solving trigonometric equations in radians