I just can't use the Odesolve function for this equation: $$y'+2xy=x\cdot e^{-x^2}$$ If anyone could help....


1 Answer 1


Welcome to the site !

This is not a site where anyone would do your homawork for you. You need to show what you did and explain where you are stuck.

As a welcoming gift, I shall give you a hint for the equation $$y'+2xy=x\, e^{-x^2}$$

Let $y=z \, e^{-x^2}$

  • $\begingroup$ Sorry and thanks Sir, but I managed to solve it on my own, made a silly mistake with defining the Odesolve function. I was new to this Mathcad, solving by hand seemed even easier at that point. $\endgroup$
    – Paul J.
    Commented Apr 17, 2020 at 20:33

Not the answer you're looking for? Browse other questions tagged .