Coupled Second order differential eq. solution

i have 2 coupled eq. i used ode45. my system looks like:
x''=x'/a(f/c - by'/y)
y'=1-x'y/d
my system:
dx1=x2
dx2=(x2/a).*(f/c - b*dx3/x3)
dx3=1-x3.*x2/D
thanks! i suppose i cant really use dx3 on RHS...

 Risposta accettata

%Suppose
x1=x
x2=x'
x3=y
%we get the system
dx1=x2
dx2=x2/a*(f/c - b*(1-x2*x3/d)/x3) % You have to check your brackets
dx3=1-x2*x3/d

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by