Eliminating Trigonometric Functions