The general solution of the trigonometrical equation sinx+cosx=1 is
x=2nπ,n∈I
x=2nπ+π2,n∈I
x=nπ+(−1)nπ4−π4,n∈I
none of these
sinx+cosx=1⇒sin(x+π/4)=12
=sinπ4⇒ x+π4=nπ+(−1)nπ4⇒ x=nπ+(−1)nπ4−π4
which includes x=2nπ and x=2nπ+π2.