I am stuck on the following problem, hoping that someone will be able to help me.
I have a following second order differential equation: $$y''=-\sqrt{y}+0.5y'$$ with the following initial conditions: $$y(0)=0, y'(0)=0$$
I am familiar with Euler's method for first order differential equation when $y'=f(x,y)$, but In the above case I get stuck. When I start from the initial point $(x_0, y_0)$, which based on the initial condition would be $(0, 0)$ and then moving to the point $x_1=1$ and using the second initial condition I get $(x_1, y_1) = (1, 0)$. And now, how do I get the value of $y'(1)$ to plot the next point, let's say $(2, y_2)$?
I tried to reduce the order of the initial equation with the following substitution $y'=u$ and then: $$y'' = u' \implies u'=-\sqrt{y}+0.5u$$ but I run into a similar problem trying to plot $u(y)$.
If I try to write it as $$\frac{du}{dy}u=-\sqrt{y}+0.5u$$ and express $\frac{du}{dy}$ as $f(y,u)$ I run into a problem at point $(0, 0)$ where $u=0$.
I will appreciate if someone could give me some tips on how to tackle this, or what I am doing wrong here.