How to solve the following nonlinear ODE with two algebraic equations and one boundary condition?
$$y''(x)=\dfrac{2\left((x+15)y'(x)-y(x)\right)\left(y'(x)^2+1\right)}{\left(y(x)^2+x(x+30)+236\right)^2}$$
The boundary condition: $$y(-14)=0$$
The algebraic equation constraint:
$$\left\{ \begin{array}{ll} y(x_0)=\sqrt{1-x_0^2} &\\[15pt] y'(x_0)=\dfrac{-x_0}{\sqrt{1-x_0^2}}& \text{where: }-1\lt x_0\lt 0 \\ \end{array} \right.$$
Make a function that depends on $x_0$ to integrate from $x_0$ to $-14$ using the given formulas as initial conditions and returns the value $y(-14)$. Use the secant method, or some bracketed method to be sure to stay in the interval, to find the value of $x_0$ that gives $y(-14)=0$.
The following code gives the tangency to the unit circle at $x_0=-0.0716992989368$, $y(-14)=3.17161661517·10^{-15}$, $y'(-14)=0.0699203372635$. One could replace the fixed step classical Runge-Kutta with one of
scipy-odeintorscipy-ode, but that should only change little in the result.