Solve for Trigonometric Values