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

5 次查看(过去 30 天)
Find the general solution of the equation y′−y= y2ex.
  1 个评论
John D'Errico
John D'Errico 2020-7-30
PLEASE STOP POSTING YOUR HOMEWORK ASSIGNMENTS. Worse, this is now the second time you asked this question.

请先登录,再进行评论。

回答(1 个)

Sriram Tadavarty
Sriram Tadavarty 2020-7-30
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

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by