The shooting method converts a boundary value problem for an ordinary differential
equation into a sequence of initial value
problems. For example, to solve with
and
, one guesses the missing initial slope
, integrates to
, and adjusts
until
The adjustment can use a root-finding method such as the secant method or Newton's method. Multiple shooting divides the interval into subintervals and imposes matching conditions, which can improve conditioning for unstable or long integrations.