The given differential equation is
[tex]\frac{dy}{dx}=\frac{ycos(x)}{1+y^2}[/tex]We will separate all terms of y with dy and all terms of x with dx
[tex]\begin{gathered} \frac{1+y^2}{y}dy=cos(x)dx \\ (\frac{1}{y}+\frac{y^2}{y})dy=cos(x)dx \\ (\frac{1}{y})dy+ydy=cos(x)dx \end{gathered}[/tex]Now, we can do the integration
[tex]\begin{gathered} \int\frac{1}{y}dy=ln(y) \\ \int ydy=\frac{y^{1+1}}{1+1}=\frac{y^2}{2} \end{gathered}[/tex][tex]\int cos(x)=sin(x)+C[/tex]Then the equation is
[tex]ln(y)+\frac{1}{2}y^2=sin(x)+C[/tex]To find C we will use y(0) = 1
That means at x = 0, y = 1
[tex]\begin{gathered} ln(1)+\frac{1}{2}(1)^2=sin(0)+C \\ \\ ln(1)=0 \\ sin(0)=0 \\ \\ 0+\frac{1}{2}=0+C \\ \\ \frac{1}{2}=C \end{gathered}[/tex]The equation is
[tex]\frac{1}{2}y^2+ln(y)=sin(x)+\frac{1}{2}[/tex]