How to solve system of nonlinear ODEs with "unusual" boundary conditions?

조회 수: 3 (최근 30일)
Andrii Syrota
Andrii Syrota 2020년 10월 10일
댓글: Andrii Syrota 2020년 10월 11일
Hello, everyone!
I have got a problem with solving a 2nd order system of nonlinear ODEs. I want to solve numerically the system below :
The problem is in "unusual" boundary conditions, determined below :
Conditions are dermined at the beginning and end of the interval (not a classical Cauchy problem). I have no idea how to solve a system with such conditions via MatLab. Could anyone help me, please ? Or give a link to example how to solve similar problem?
Best, Andrii.
  댓글 수: 2
Alan Stevens
Alan Stevens 2020년 10월 11일
cot(0) is infinite, which makes your first equation difficult to get started!
Andrii Syrota
Andrii Syrota 2020년 10월 11일
Yes, the boundary condition was wrong , thank you (i have corrected it) . But i am interested in method in general, how to solve a system with such conditions.

댓글을 달려면 로그인하십시오.

답변 (1개)

J. Alex Lee
J. Alex Lee 2020년 10월 11일
If you are talking about boundary value problems versus initial value problems, look at bvp4c and bvp5c. There is nothing "unusual" about that.
For your equations specifically, if you can't express as a system explicit equations in first derivatives, then neither of those functions may work; I don't know if there are built-in solvers in Matlab for that, but recall seeing similar questions in this forum.
A straightforward way to solve could be to discretize the equations using finite differences on some domain and solve as a set of nonlinear algebraic equations.

카테고리

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