Graph sin and cosine functions