Total[Table[E^(I 2 [Pi] RandomReal[]), 10000]]
Hi, I wrote this code to generate a series of complex number, e^i2??, and ? is between 0 to 1. Then, I sum them up. I expect the result should be very close to zero, but the value calculation giving me is a little large around +- 100.
Is my idea wrong?
Thanks