Let $\alpha_1, \alpha_2, . . . , \alpha_n$ be the interior angles of a convex (but not necessarily regular) n-gon. Prove, that for all integers $n\geq3$:
$$\cos \alpha_1 + \cos \alpha_2 + \cdots + \cos \alpha_n + n \cos\left(\dfrac{2\pi}{n}\right) \leq0$$
The prof said that I need to use Jensen's Inequality, and may be something else.. But I don't see it!
If all the interior angles are acute, then noting that $\cos \theta$ is concave for $\theta \in (0, {\pi \over 2})$, we can use Jensen's Inequality.
$$\frac1n \sum \cos \alpha_i \le \cos \left(\frac1n \sum \alpha_i \right) = \cos \left( \frac{\pi(n-2)}{n} \right) = \cos(\pi - \frac{2\pi}{n}) = -\cos(\frac{2\pi}n)$$
Note that this is more restrictive than just being convex, and in fact your inequality does not hold in general if one of the angles can be larger than $\pi \over 2$.