Trial-and-Error (Linear Shooting) Method

Figure 5.5: First guess.
Image 8-1a
Figure 5.6: Second guess.
Image 8-1b
...
Figure 5.7: Expected result.
Image 8-1c
First, let's transform this boundary value problem into a first-order system of equations:
  • $y_1=y$
  • $y_2=y'$
  • $\frac{dy_1}{dx}= y_2$
  • $\frac{dy_2}{dx}=(4x^2-2)y_1$
Figure 5.8: Solution for the Boundary Value Problem for the ODE: $y''(x)-(4x^2-2)y=0$.
Image 8-1d

Image 8-1e
Figure 5.9: Solution for the Boundary Value Problem for the ODE: $y''(x)-(4x^2-2)y=0$.
Image linearshooting