Find the value of the following determinant of $n \times n$ matrix:
$$\det A=\begin{vmatrix} 1&\cos \theta_{1}&\cos 2\theta_{1}&\dots&\cos (n-1)\theta_{1}\\ 1&\cos \theta_{2}&\cos 2\theta_{2}&\dots&\cos (n-1)\theta_{2}\\ \vdots&\vdots&\vdots&&\vdots\\ 1&\cos \theta_{n}&\cos 2\theta_{n}&\dots&\cos (n-1)\theta_{n}\\ \end{vmatrix}$$
Here's my idea to evaluate it:
Subtracting the $i^{th}$ column by $(i-1)^{th}$ column and get $-2\sin\frac{\theta_{k}}{2}\sin\frac{2i-1}{2}\theta_{k}$ by sum-to-product identities, and there is common factor of $-2$ on each column (expect the first and second columns) can be pulled out.
And the rest I have stucked in it. Any brilliant idea to continue my work? Or getting a new way to go through it?