If I choose $n$ random independent points on a circle's circumference and use them to divide a circle into $n$ sectors, expected size of each sector in radians is $2\pi/n$.
If I change the problem to finding the expected size of a sector with additional condition that it contains a specific given polar coordinate angle $\theta$, I still expected it to be $2\pi/n$. But when I do a computer simulation it seems to be $4\pi/(n+1)$.
Am I doing something wrong? If not, what's the intuition behind this?
Simplest simulation is to break the circle using positive x axis and convert it to a line segment, and generate $n$ points to define sectors, then calculate the average size of sector containing $\theta=0$:
import random
C = 10000
N = 4
sum = 0.0
for i in range(C):
arr = [random.random() for j in range(N)]
sum += 1 - max(arr) + min(arr)
print(sum / C)
outputs approximately 0.4, which means sector size of 2pi * 0.4.
If I change the code (which makes the code a bit more complicated) to calculate expected size of sector containing any specific $\theta$ other than 0, I still get 0.4.
Thinking in terms of a line segment this seems intuitive, but not when I think in terms of a circle.