Numerical method to solve high order ODEs.

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 5K views
meridian
Messages
3
Reaction score
0
here is a simplified version of my working equtions
[tex] y''' = \frac{(y'' y+y' y) y + y'y''}{y' + y''}[/tex]
and 3 related boundary conditions, is there some hints to solve such equation numerically?

ThX
 
Physics news on Phys.org
This might sound crazy, but note that everything here is a function of y. You may not have to resort to numerical solutions. But then again I haven't tried it out yet. Looks a little intimidating.
 
in the equation,
[tex]y = y(x)[/tex]
The original equation are much more complex, it is not possible to get a exact analytical solution for that. What I want to learn is the general numerical method to solve such equation.
 
Let u= y'(x), v= y"(x). Then your equation is becomes
[tex]y'= \frac{(v y+u y) y + uv}{y + v}[/tex]
That together with y'= u and u'= v gives you three interconnected first order equations. Do, say, a 4th order Runge-Kutta, advancing the step in all three equations at the same time.
 
Do, say, a 4th order Runge-Kutta, advancing the step in all three equations at the same time.

Thats would I would suggest. Although the Adams-Moulton-Bashforth method would work as well and probably give you a little bit more accuracy. But you will need the RK4 for the first couple steps anyway.