For $x \in [-1,1]$, the roots of the equation above can be expressed in the form $\cos\left( \frac 1 n \pi\right)$ and $\sin\left( \frac 1 n \pi\right)$, where $n$ is a positive integer.

Find the value of $n$.

Your answer seems reasonable.
Find out if you're right!