graphing sine and cosine assignment