How do I solve for the initial value with the given equation:
$xy'+y = e^{\sin x}\cos x$ for y$\left(π\right)$ = 1
I have tried to isolate the $y'$ by multiplying the whole equation by $\frac 1x$ and I got:
$y' + \frac 1x$$y= \frac 1x$$e^{\sin x}\cos x$
I thus got my integrating factor as:
$I\left(x\right)$= $e^{∫ \frac 1x}$
= $e^{\log x}$
= x
I'm not really sure how do I continue from here though.
For a differential equation of the form, $$y'+{\rm P}(x) \cdot y = {\rm Q}(x)$$ Once you've got Integrating Factor, the solution is given by $$y \cdot {\rm (IF)} = \int {\rm Q}(x) \cdot {\rm ( IF)} {\rm d}x + {\rm C}$$
Can you continue now?