derivative of g(q) = sin(cos q). (Resp: g'(q) = -sin q cos(cos q).)