The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= 0.4021\\[1 em]x_2 &= -1.582\\[1 em]x_3 &= 1.3719\\[1 em]x_4 &= -0.096+1.5108i\\[1 em]x_5 &= -0.096-1.5108i \end{aligned} $$Polynomial $ x^5-5x+2 $ has no rational roots that can be found using Rational Root Test, so the roots were found using Newton method.