結果 : how to differentiate sine and cosine functions