Re:Bertrand's Paradox
by chadzawistowski on Tuesday August 04, 2015 @02:45PM
(#10005380)
Your answer will follow from the chosen "random" sampling method. Since the sampling method is not stated as part of the problem, there is ambiguity.
For this Ruby snippet, you chose random (x,y) coordinate pairs on a plane. This corresponds to selection method #2 as outlined on the Wikipedia article [0]. Scroll down a bit to see different selection methods visualized!
[0] https://en.wikipedia.org/wiki/Bertrand_paradox_%28probabilit...
I don't believe that this approach makes any assumptions about the chords that it generates. Here's a ruby snippet that does just that (err, I think!)
plane_size = 10000.0 chords = []
while chords.size < 100 p1 = {} p2 = {}
If I believe the result, the real world seems to feel that the answer is 0.5Edit: Hah! Should have read just a few comments further, and I would have seen some other posts doing exactly the same thing. Good to see we ended up with the same answer :D