I am looking for a closed form for: $$\lim_{n\to\infty}\prod_{k=1}^n{\left(2-\frac{2n^2-\pi^2+8}{n^2}\cos{\frac{(2k-1)\pi}{n}}\right)}$$
(Wolfram suggests that it's approximately 6.17966.)
Context:
I was thinking about the curve $y=2^{n-1}(x-\cos{\frac{0\pi}{n}})(x-\cos{\frac{1\pi}{n}})(x-\cos{\frac{2\pi}{n}})...(x-\cos{\frac{n\pi}{n}})$.
Here is the graph when $n=6$, for example:
It is an $n+1$ degree curve tangent to the unit circle at $n$ points, and the total area of the $n$ regions enclosed by the curve and the x-axis is always $1$ (for any $n$).
The product, let's call it $P$, of the areas of the regions enclosed by the curve and the x-axis, approaches $0$ as $n\to\infty$. But then I discovered that if we magnify the curve so that the average area of the regions is always $2$ (for any $n$), then $P$ approaches 6.17966... as $n\to\infty$. The limit in the question is this number. (To derive the limit expression, I used an equivalent expression for the curve: $y=-\sqrt{1-x^2}\sin{(n\arccos{x})}$, and stretched it vertically and horizontally by scale factor $\sqrt{2n}$ so that the average area of the regions is $2$.)
This idea of the product of areas of regions in a circle approaching some positive number is inspired by this question.
My attempt:
I tried relating the limit to a similar limit, $\lim_{n\to\infty}\prod_{k=1}^n{\left(2-2\cos{\frac{(2k-1)\pi}{n}}\right)}=4$, as well as taking the log of the product, but I didn't make any progress. I am not very familiar with evaluating infinite products and would like to learn more.