How to solve two 2nd order differential equations using ode's

1 次查看(过去 30 天)
my system is as follows. x"+ x'+ x + y'=0; y"+ y'+ y + x'=0; Thanks in advance for the help.

采纳的回答

Birdman
Birdman 2018-2-21
Here is an approach, with symbolic way:
syms x1(t) x2(t)
eq1=diff(x1,2)+diff(x1,1)+x1+diff(x2,1)==0;
eq2=diff(x2,2)+diff(x2,1)+x2+diff(x1,1)==0;
solx=dsolve([eq1,eq2]);
x1(t)=solx.x1
x2(t)=solx.x2
  4 个评论
Birdman
Birdman 2018-2-22
I do not know how to use ode45. Maybe you should open a new question in forum.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by