Shooting Method
Shooting Method
Consider the boundary-value problem with and . You can solve this using only the initial condition by varying the initial slope until the function satisfies the condition at the endpoint (that is, the solution goes through the orange dot at ). This is called the shooting method. For ten years, Mathematica has used a sophisticated version of this for boundary-value problems in NDSolve.
y''=-xy
y(0)=1
y(4)=1/2
y(x)
(4,1/2)