Skip to main content

Python Solution: Triangles from Random Sticks

 Riddle:

Three sticks of equal length are each uniformly randomly broken into two pieces. 

  1. What is the probability that from the three left pieces of the three sticks it is possible to form a triangle? 
  2. What is the probability that from the three longest pieces of the three sticks it is possible to form a triangle? 
  3. What is the probability that from the three shortest pieces of the three sticks it is possible to form a triangle? 
  4. What if the pieces are chosen randomly with the probability of 12 for each stick?

Python Solution:





Riddle source: