how to solve system of 2 differential equation with boundaries
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!