For $n\in\mathbb{N}$, evaluate $\int_0^n \cos(2\pi \lfloor x\rfloor\{x\})dx$

64 Views Asked by At

Can anyone please evaluate and explain this integral? Here $n$ is a positive integer.

$$\int_0^n \cos(2 \pi \lfloor x\rfloor \{x\}) dx$$