derivative and integral of trig functions