How to solve system of nonlinear ODEs with "unusual" boundary conditions?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Alan Stevens
le 11 Oct 2020
cot(0) is infinite, which makes your first equation difficult to get started!
Réponses (1)
J. Alex Lee
le 11 Oct 2020
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.
Voir également
Catégories
En savoir plus sur Systems of Nonlinear Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!