Einsetzen in die Ursprungsgleichung:
$$-\, C'(t) \cdot  e^{\sin(t)} +C(t) \cdot  e^{\sin(t)} \cdot \cos(t)-\, C(t) \cdot  e^{\sin(t)}\cdot \cos(t)=2 \,\cos(t)$$nun hebt sich was hinweg:
$$-\, C'(t) \cdot  e^{\sin(t)} =2 \,\cos(t)$$
$$\, C'(t)   =-\, 2 \,\frac{\cos(t)}{ e^{\sin(t)}}$$
$$\, C'(t)   =-\,2 \,\cos(t) \, \cdot \, e^{-\, \sin(t)}$$
$$\int \, C'(t) \, dt   =-\,2 \int \,\cos(t) \, \cdot \, e^{-\, \sin(t)}\, dt$$
$$ C(t)  =-\,2 \int \,\cos(t) \, \cdot \, e^{-\, \sin(t)}\, dt$$
hier überspringen wir mal die Details und kommen direkt zum Ergebnis:
$$ C(t)  =\,2  \, \cdot \, e^{-\, \sin(t)}$$
Das wäre nun die partikuläre 
Lösung , welche zu der homogenen hinzuzuaddieren ist