Solving trigonometric equations with angle of elevation