We randomly (uniformly) generate points $[a,b]$, where $0 \leq a,b \leq 1$. Let $\epsilon$ be a given real number from the interval $[0, \sqrt{2}]$. What is the probability that if we generate two points $P_1,P_2$, then their distance will be at most $\epsilon$.
It's not an assignment. I'm just curious if it can be somehow solved :)
![RegionPlot[Abs[x - y] < 0.1, {x, 0, 1}, {y, 0, 1}]](../../images/1dfa5f275cbf8dfc1e30e4222c8d8f94.webp)