how to solve system of 2 differential equation with boundaries

1 回表示 (過去 30 日間)
Mallikarjuna M
Mallikarjuna M 2022 年 1 月 21 日
再開済み: Mallikarjuna M 2022 年 2 月 9 日
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

採用された回答

Torsten
Torsten 2022 年 1 月 21 日
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 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by