Select (x,y) uniformly in the unit square [0,1]2, and let R be its distance from (0,0). Derive the distribution function on 0≤r≤1. For 1≤r≤2, prove P(R≤r)=r2−1+πr2/4−r2arccos(1/r). Show E[R]=32∫12r2/r2−1dr and obtain its exact value.
Show final result
For 0≤r≤1 the distribution function is πr2/4. The mean distance is [2+ln(1+2)]/3.