I am trying to code a system of ODE's shown below.


As seen, the second ODE completely depends on the value of the first ODE.
How can I code the second ode?
I am using ode45.
I am trying to code a system of ODE's shown below.


As seen, the second ODE completely depends on the value of the first ODE.
How can I code the second ode?
I am using ode45.
Copyright © 2021 Jogjafile Inc.
Yes, that's quite possible. Define
xas[c;ce], then you have something like:and then you can call the ode solver as: