differentiate cos(t) + 1/2 cos(6 t) + 1/3 sin(14 t)