Find the general solution of the equation y′−y= y2ex.
2 views (last 30 days)
Sriram Tadavarty on 30 Jul 2020
Differential equations can be solved with dsolve function.
Here is the code, that you might be looking for:
syms y(x) a
eqn = diff(y,x)-y == y^2*exp(x);
ySol(x) = dsolve(eqn)
Hope this helps.