Sign and Quadrant of Cosine Function