Solve trigonometric equations (#48)