Solving polynomials with ordinary differential equations