From: utzoo!decvax!harpo!zeppo!wheps!eagle!mhuxt!rwhaas
Newsgroups: net.math
Title: Re: Questions about pizza answer
Article-I.D.: mhuxt.564
Posted: Wed Jun 23 14:35:42 1982
Received: Sun Jun 27 05:13:24 1982
References: populi.215

If your problem is simply to find the n roots of unity, i.e. the
solution to x^n - 1 = 0, then note that

	x^n=1=exp(2*pi*i)
so that all the roots are of the form

	root[k] = cos(2*pi*k/n) + i*sin(2*pi*k/n), k=0,...,n-1 .

As to construction of these roots, the previous articles apply.
Roy Haas
Bell Labs, Indian Hill