Numerical solution to an ODE as input to solve another ODE?
Show older comments
I have the following ordinary differential equation (ODE):

where, y is given by the solution to

(f and g denote functions)
If the second ODE has an analytic solution, solving the first ODE numerically, for example using ODE45, is straight forward as
can be substituted.
can be substituted.However, if an analytic solution for y is not available, how can I use the numerical solution to the second ODE as input to the first ODE? Or is there any other way to solve the problem?
Accepted Answer
More Answers (0)
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
