In a broad sense, what I am trying to do is calculate how much of the red path falls within the range of the black paths for many different trials:
For example, in (0, 1