I would like to calculate the mean distance depending on circle shape points,
This is a mean calculating all posible distances between any two points
for N=2, line, there is only 1 distance.
for N=3, triangle, again, there is only 1 distance
for N=4, square, henceforth there are more than 1 distance.. in this case we would have 4 distances for sides and 2 distances in diagonal path, $\sqrt2$, then the mean distance would be
D=(4+2$\sqrt2$)/6=1.138..
for N=30, it would be a "pixeled" circle .. and N=infinity is a circle
How to calculate it for N>4 ? Is there any general formula or can it be derived?
Thanks
