Trigonometric functions and Rational functions