結果 : how to take the derivative of a squared trig function