Let \(\omega=-\frac{1}{2}+\mathrm{i} \frac{\sqrt{3}}{2}, \mathrm{i}=\sqrt{-1}\), then the value of \(\left|\begin{array}{ccc}1 & 1 & 1 \\ 1 & -1-\omega^2 & \omega^2 \\ 1 & \omega^2 & \omega^4\end{array}\right|\) is
Show Hint
Simplify the entries using 1 + w + w^2 = 0 and w^3 = 1, then expand.