Differential Equations Question 329

Question: The solution of $ \frac{dy}{dx}=e^{x}(\sin x+\cos x) $ is

Options:

A) $ y=e^{x}(\sin x-\cos x)+c $

B) $ y=e^{x}(\cos x-\sin x)+c $

C) $ y=e^{x}\sin x+c $

D) $ y=e^{x}\cos x+c $

Show Answer

Answer:

Correct Answer: C

Solution:

Given equation $ \frac{dy}{dx}=e^{x}(\sin x+\cos x) $

Therefore $ dy=e^{x}(\sin x+\cos x)dx $

On integrating, we get $ y=e^{x}\sin x+c $ .