I am given a boundary value problem of the form $y'' = f(y', y, x)$ and asked to solve the system subject to boundary conditions using the finite difference method.
I proceed to develop a system of equations with each equation representing the equation for a given node. If I use node $x_1$ as an example, I know that I have to:
Replace all instances of $y''$ with $\dfrac{y_0 - 2y_1+y_2}{h^2}$
Replace all instances of $y$ with $y_1$
My question is, what do I replace the instance(s) of $y'$ with?