This is rather a simple problem that I'm posting ; looking forward not for the solution of it but the different ways it could be solved.
What is the value of the following expression?
$$\left( 1+\cos { \left( \frac { \pi }{ 8 } \right) } \right) \left( 1+\cos { \left( \frac { 3\pi }{ 8 } \right) } \right) \left( 1+\cos { \left( \frac { 5\pi }{ 8 } \right) } \right) \left( 1+\cos { \left( \frac { 7\pi }{ 8 } \right) } \right) $$
Edit: Do I manually put the values of $\cos\frac{\pi}{8}$ and all other cosine terms? Is there a better and shorter way?