z1 and z2 are two adjacent vertices of a regular polygon with centre z. Find the angle made by one side at the centre.
The angle made by one side looks like in the above figure. From the figure its clear that we get z2 by
rotating z1 by an angle of θ anticlockwise about z. So we have
z2−zz1−z = eiθ
θ = arg (z2−zz1−z)