One ode, two differential equations
Mostra commenti meno recenti
I have 2 differential equation that i want to solve in the same ode. I only have the initial value of the first equation and the answer of it will be the initial value of the second differential equation.
Is it possible and how ?
6 Commenti
Star Strider
il 31 Gen 2020
With only the information you have provided thus far, it is not possible to provide any Answer.
Does the solution of the first differential equation at every time value always provide a value that the second differential equation requires?
Raed AL Hassanieh
il 1 Feb 2020
Modificato: Raed AL Hassanieh
il 1 Feb 2020
Ioannis Andreou
il 1 Feb 2020
I don't quite understand.
You have the differential equations

The solution for y1(t) (given any initial value) aswell as dy1/dt are functions of t. They cannot be initial values.
Raed AL Hassanieh
il 1 Feb 2020
Raed AL Hassanieh
il 1 Feb 2020
Raed AL Hassanieh
il 1 Feb 2020
Risposte (1)
Ioannis Andreou
il 1 Feb 2020
0 voti
As far as I can tell from your code, the righthanded side of your differential equations is the same. Meaning you have the system

. Thus you can simply only solve y1, the solution of y2 is then y2(t) = y1(t-t1).
1 Commento
Raed AL Hassanieh
il 1 Feb 2020
Categorie
Scopri di più su Ordinary Differential Equations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!