Find the general solution of the equation y′−y= y2ex.

5 views (last 30 days)
Find the general solution of the equation y′−y= y2ex.
  1 Comment
John D'Errico
John D'Errico on 30 Jul 2020
PLEASE STOP POSTING YOUR HOMEWORK ASSIGNMENTS. Worse, this is now the second time you asked this question.

Sign in to comment.

Answers (1)

Sriram Tadavarty
Sriram Tadavarty on 30 Jul 2020
Hi Satyanarayana,
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.
Regards,
Sriram

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!