how to solve system of 2 differential equation with boundaries
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mallikarjuna M
am 21 Jan. 2022
Erneut geöffnet: Mallikarjuna M
am 9 Feb. 2022
with boundary conditions
a(1)=1 and b(1)=1
a'(0)=0 and b(0)=0
please helpa me to solve the equation numerically
0 Kommentare
Akzeptierte Antwort
Torsten
am 21 Jan. 2022
Rewrite your equations as a system of first-order ODEs
dy(1) = y(2);
dy(2) = 9*phi_A^2*y(1)/(1+y(1)+y(2));
dy(3) = y(4);
dy(4) = 9*phi_B^2*y(2)/(1+y(1)+y(2));
with a=y(1), a'=y(2),b=y(3),b'=y(4)
and use bvp4c to solve.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!