Equation of trigonometric function