MATLAB Answers

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

3 views (last 30 days)
SATYANARAYANA R
SATYANARAYANA R on 30 Jul 2020
Commented: madhan ravi on 30 Jul 2020
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

  1 Comment

madhan ravi
madhan ravi on 30 Jul 2020
Sriram please don’t provide complete homework solutions.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!