I am trying to numerically solve the following ordinary differential equation that I encountered in one article: $$ y''' \left( x \right) =-0.5\cdot y \left( x \right) \cdot y'' \left( x \right) -0.05 $$
This equation has the following boundary conditions:
- At $ x=0$: $y \left( x \right) =y' \left( x \right) =0 $
- At $ x=\infty$: $y' \left( x \right) =1$, $y'' \left( x \right) =0 $
In the article it is written that we can rewrite our equation in the following way \begin{align} y' \left( x \right) &=f \left( x \right) \\ f' \left( x \right) &=g \left( x \right) \\ g' \left( x \right) &=-0.5\cdot y \left( x \right) \cdot g \left( x \right) -0.05 \end{align}
with the following boundary conditions
- At $x=0$: $y \left( x \right) =f \left( x \right) =0 $
- At $x=\infty$: $f \left( x \right) =1$, $g \left( x \right) =0 \ $
and that we need to assume g(x=0) as a first guess and solve our equation with the Runge Kutta fourth order method (https://en.wikipedia.org/wiki/Runge%E2%80%93Kutta_methods).
The problem is that I do not know how to do that in my case since 4-th order Runge-Kutta method is normally used to solve first-order ODE.
