![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401489/image.jpeg)
BVP for system of 2 second order ODEs
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have a system of two second order ODEs that I want to calculate using bvp4c. I have some problems transforming the second order ODEs in acceptable first order problems and then setting up the boundary conditions. Help is very much appreciated!
My system of equations with
and
:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401364/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401369/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401374/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401379/image.png)
where
,
,
,
and h are known constant values and
is a known linear function.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401384/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401389/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401394/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401399/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401404/image.png)
The boundary conditions are:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401409/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401414/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401419/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401424/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401429/image.png)
I have some problems setting this up, because
and
are appearing in both ODEs.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401434/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401439/image.png)
Thanks in advance!
0 Commenti
Risposta accettata
Alan Stevens
il 3 Nov 2020
Here is how you can express your second order equations as first order ones
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401489/image.jpeg)
You should now be able to express your boundary conditions ok, though you seem to have too many! You have four initial conditions which should be enough to determine your dependent variables.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Ordinary Differential Equations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!