$$\sin\ \theta+\cos\ \theta=\sqrt{2}$$
$\theta =2\pi n_{1}+\frac{\pi }{4}$
$n_{1}\in \mathrm{Z}$