One ode, two differential equations
Mostrar comentarios más antiguos
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 comentarios
Star Strider
el 31 de En. de 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
el 1 de Feb. de 2020
Editada: Raed AL Hassanieh
el 1 de Feb. de 2020
Ioannis Andreou
el 1 de Feb. de 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
el 1 de Feb. de 2020
Raed AL Hassanieh
el 1 de Feb. de 2020
Raed AL Hassanieh
el 1 de Feb. de 2020
Respuestas (1)
Ioannis Andreou
el 1 de Feb. de 2020
0 votos
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 comentario
Raed AL Hassanieh
el 1 de Feb. de 2020
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!