Since, y1=1+cosx and y2=1+sinx are the solution of the DEdx2d2y+y=1
hence dx2d2y1+y1=1 and dx2d2y2+y2=1; on adding, we get dx2d2(y1+y2)+(y1+y2)=2
or dx2d2(y1+y2−1)+(y1+y2−1)=1 ....(1)
conparing this with dx2d2y+y=1, we have y1+y2−1=0 also satisfies the DE ∴1+cosx+sinx=0⇒ (D)