First, let's rewrite the equation in the standard form:
\(\frac{dy}{dx} + x^2y = xe^x\)
Now, we can see that the coefficient of \(y\) is \(x^2\), which is not a function of \(x\) only. To make it a function of \(x\) only, we can multiply the entire equation by
Show more…