# Integral problem.

I have a problem with this integral. By the way, it's not my homework:)

$$\int\limits_{0}^{+\infty}(\lim\limits_{n\rightarrow+\infty} \displaystyle\frac{1+\cos\frac{x}{n}+\cos\frac{2x}{n}+\ldots+\cos \frac{(n-1)x}{n}}{n} \right))dx$$