y= Asinx + Bcos x is the solution of the differential equation?

y= Asinx + Bcos x is the solution of the differential equation?

Explanation

The given equation y = Asin(x) + Bcos(x) is a general solution to the differential equation y'' + y = 0, where A and B are arbitrary constants.