Explaining add-on
Boundary-value ODEs
Find a bounded trajectory that satisfies two endpoint constraints with explicit shooting evidence.
Shoot toward the second boundary.
NumericalBoundaryValueOdeAnalyzer accepts a scalar second-order equation such as y'' = -k*y, values for y(a) and y(b), and finite grid/search limits.
$analysis = (new NumericalBoundaryValueOdeAnalyzer())->analyze(\"y'' = 0\", '0', '1');
// initialSlope ≈ 1; endpoint residual ≈ 0The analyzer integrates candidate slopes with RK4 and refines the endpoint residual with bracketed and guarded secant steps. Inspect solution['boundary'], solution['iterations'], and solution['points'] together.
Numerical scope:This finds one local trajectory when the residual meets tolerance. It does not prove uniqueness or enumerate every solution, and higher-order, multi-point, singular, or derivative boundary conditions remain unsupported.