Finding values of sin, cos, and tan