Four points are chosen at random inside a square. Each point is chosen by choosing a random x-coordinate and a random y-coordinate.
A convex quadrilateral is drawn with the the four random points as the vertices.
Determine the probability that the center of the square is inside this quadrilateral.
I do not have the highest level of confidence in my algorithm for this problem. I have not done a graphical output to double check the validity.
|
Posted by Larry
on 2023-01-12 19:41:53 |