Is there an "easy" way to find the minimal polynomials of $\sin(\pi/8)$ and $\cos(\pi/9)$ without the help of any computer program?
If I knew $\sin(\pi/8)=\frac{\sqrt{2-\sqrt2}}{2}$ then it would obviously be easy to find it, but how would I evaluate $\sin(\pi/8)$ in the first place?
And $\cos(\pi/9)$ does not seem to have a nice alternate form. So I see no point to start.
We know that $\zeta = \cos(\pi / 8) + \mathbf{i} \sin(\pi / 8)$ is a primitive eighth root of unity. Therefore its minimal polynomial is
$$ f_\zeta(x) = \frac{x^8 - 1}{x^4 - 1} = x^4 + 1 $$
However, $\cos(\pi / 8) = (1/2)(\zeta + \bar{\zeta}) = (1/2)(\zeta + 1/\zeta)$.
From this information, it's easy to show that the minimal polynomial of $\cos(\pi / 8)$ is quadratic, and using the fact that $\zeta^2 + \zeta^{-2} = 0$, we can find a linear combination of the powers of $\cos(\pi / 8)$ that sum to zero without much trouble.
Finding the minimal polynomial of $\sin(\pi/8)$ over $\mathbb{Q}(i)$ can be done the same way. Once you have that, you can use it to determine the minimal polynomial over $\mathbb{Q}$.