I need to find the roots of this sixth-degree polynomial in $w$:
$$w^6-9\left(\frac{g}{l}\right)w^4+18\left(\frac{g}{l}\right)^2w^2-6 \left(\frac{g}{l}\right)^3$$
I've found this polynomial while solving a problem related to a triple pendulum (for context, $w$ is the frequency of a triple pendulum with equal lengths $l$; and $g$ is gravity) and couldn't manage to proceed.
Let $w=\sqrt{x\frac{g}{l}}$ then the polynomial becomes $$x^3-9x^2+18x-6=0,$$ with roots $$ 0.41577,\quad 2.2943\quad\text{and}\quad 6.2899.$$