Which of the following functions is a solution to the differential equation as y'-cos x = 01y= cos x2y = -cosx3y = sin x4y = -sin xAnswer & explanation+Correct answer: option 3y = sin x y' = cos x