0
votes
1answer
65 views

Find coordinates of n points uniformly distributed in a rectangle

I have a rectangle R of width W and height H. I have N points inside this rectangle. I need to find an algorithm to position my points in the rectangle in the most uniform way possible (no overlaps, ...
3
votes
2answers
344 views

Average Distance Between Random Points in a Rectangle

My question is similar to this one but for rectangles instead of lines. Suppose I have a rectangle with sides of length $L_w$ and $L_h$. What is the average distance between two uniformly-distributed ...
3
votes
1answer
207 views

Average sine of an angle between two rays in a cone

I'm looking for an average value of sine of an angle between two rays, lying within a cone with a certain angle. Given a cone with an aperture of ${2\chi}$ and two rays lying within the cone. The ...