I have came across a second order as well as second degree differential equation in study of cosmic inflation. The full equations is quite messy so let me give a prototye:
A(x) y''(x)^2 + B(x) y(x) + C(x) = 0, y'(0) = a, y(0) = b
What I usually do in this type of cases is to ask Mathematica to solve it. And she usually solve it. But, sometimes mathematica show some error, for instance "singularity or stiffness at x=d". Now, I am trying to solve them in some basic language ( read python ). But, the way we solve 2nd order differential equation is not applicable here, i.e., writing it as two first order differential equations. Can any one provide me with an algorithm for solving the problem and/or direct me to the literature where I can learn more about the methods.
Thanks in advance.