how does one find the polynomial of minimal degree $p(x)$ over $\mathbb{Q}$ such that $\beta=\cos(20)$ (in degrees, not in rad) and $p(\beta)=0$.
I know that the answer is $p(x)=8x^3-6x-1$, (irreducible in $\mathbb{Q}$) but I wonder how one would get this result.