I am taking a course which introduces complex numbers and some of the theorems relating to them. I wish to prove the following result:
Prove, using de Moivre's Theorem, that the product of the roots of $$z^n=1$$ is $1$ when $n$ is odd for $z \in \mathbb C$.
I do not see how de Moivre is very helpful here. Any ideas, since De Moivre only introduces a sine and cosine, I do not see how this helps met get farther. $$\cos(n\pi) + \sin(n\pi)i =1. $$

Using Vieta's formula on $$z^n-1=0,$$ We get that: $$P:=\prod_{r=0}^{n-1}z_r=(-1)^n\cdot\dfrac{-1}1= (-1)^{n+1}.$$ Where $z_r$ denotes the complex roots of unity.
If $n=2k+1$ for $k\in \mathbb Z$ we see using the rule $(x^a)^b= x^{ab}$: $$ P=(-1)^{2k+2}= \left((-1)^2 \right)^{k+1}= 1.$$