I was interested from the MathWorld's article about the so-called Meijer G-Function to compute integrals of similar functions $$\int_0^1\cos\left(\sqrt{\pi n z}\right)dz.\tag{1}$$ And from this $(1)$ to compute using Wolfram Alpha online calculator partial sums of $$\sum_{n=1}^\infty\mu(n)\int_0^1\cos\left(\sqrt{\pi n z}\right)dz=\frac{2}{\pi}\sum_{n=1}^\infty\frac{\mu(n)}{n}\left(\sqrt{\pi n}\sin\left(\sqrt{\pi n }\right)+\cos\left(\sqrt{\pi n }\right)-1\right),\tag{2}$$ where $\mu(n)$ denotes the Möbius function, see this MathWorld.
Question. Is it possible to prove that $$\sum_{n=1}^\infty\mu(n)\int_0^1\cos\left(\sqrt{\pi n z}\right)dz$$ does converge? Thanks in advance.
If this question or similar was in the literature feel free to refer it, answering this question as a reference request. Then I can to search and read those statements.