The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= -0.8451\\[1 em]x_2 &= -11.6549 \end{aligned} $$The solutions of $ 1000x^2+12500x+9850 = 0 $ are: $ x = -\dfrac{ 25 }{ 4 }-\dfrac{\sqrt{ 11685 }}{ 20 } ~ \text{and} ~ x = -\dfrac{ 25 }{ 4 }+\dfrac{\sqrt{ 11685 }}{ 20 }$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.