finding trigonometric function values given the equation of the terminal side