I cant seem to get the right answer:
dy/dx = 2y^2 + xy^2 where y(0)=1
Thanks
This is separable...
$\displaystyle \displaystyle \frac{dy}{dx} = 2y^2 + x\,y^2$
$\displaystyle \displaystyle \frac{dy}{dx} = y^2(2 + x)$
$\displaystyle \displaystyle y^{-2}\,\frac{dy}{dx} = 2 + x$
$\displaystyle \displaystyle \int{y^{-2}\,\frac{dy}{dx}\,dx} = \int{2 + x\,dx}$
$\displaystyle \displaystyle \int{y^{-2}\,dy} = \int{2 + x\,dx}$.
Go from here.