The general solution of the differential equation $\dfrac{dy}{dx}=\cos(x+y)$, with $c$ as a constant, is

- $y+\sin \left (x+y \right )=x+c \\$
- $\tan \left (\dfrac{x+y}{2} \right)=y+c \\$
- $\cos \left (\dfrac{x+y}{2} \right )=x+c \\$
- $\tan \left (\dfrac{x+y}{2} \right )=x+c$