Skip to main content

Probability Riddle Using Python: Random Obtuse Triangles

Riddle:

Two numbers x and y are uniformly distributed on [0, 1]. What is the probability that sides of length x, length y and length 1 form an obtuse triangle?


Python Solution:



Riddle source:

https://www.cut-the-knot.org/Probability/ObtuseTriangleInSquare.shtml