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 :)