i have been given to obtain solutions to z^n=i for n=3,4,5 by using the Moivre's Theorem.

then the teacher is saying you need to prove and generalize your results for z^n= a+bi, where |a+bi|=1

i dont know what do to...any ideas would be much appreciated...