circle

Tags:  •    •    •    •  

I found an interest math problem Bertrand's paradox. This problem was originally posed by Joseph Bertrand in his work.

The Problem

Determine the probability that a random chord of a circle of unit radius has a length greater than the square root of 3, the side of an inscribed equilateral triangle.

Experiment simulation

I've modeled this problem with 3 java classes (Circle, Point, Main). The Main class does the experiment with other 2 classes. The main problem in this paradox is the random chord definition. What do we mean under random chord? I try to implement the problem in the way that I select both chords of circle object randomly.