How to compute $$\sum_{k=1}^{180}\cos\left(\frac{2\pi}{k}\right)$$
I have tried several ways to do it (including euler formula, etc), but all failed. The answer given by wolframalpha appeared to be a bad irrational number...
Edited: The source of the problem is a test from our school. Maybe there is a typo on the upper bound $180$. How if the problem changes to $\sum_{k=1}^{180^\circ}\cos\left(\frac{2\pi}{k}\right)$? Is there a chance to have a closed form?