Join Nostr
2025-08-24 13:55:10 UTC
in reply to

Greg Egan on Nostr: Pick two points uniformly at random inside a regular n-gon. If you specify any two ...

Pick two points uniformly at random inside a regular n-gon.

If you specify any two sides by their order, say side 0 and side j, then the probability that the line containing the two random points passes through those two sides is:

16 sin(j π/n)^4 /(3n^2)