The connection between the method of comparison equations (generalized WKB
method) and the Ermakov-Pinney equation is established. A perturbative scheme
of solution of the generalized Ermakov-Pinney equation is developed and is
applied to the construction of perturbative series for second-order
differential equations with and without turning points.Comment: The collective of the authors is enlarged and the calculations in
Sec. 3 are correcte