Write some code to find two random points in 3D space. Choose each to be between 0 and 1, that is (x,y,z) for the two points are random in 0≤x≤1, 0≤y≤1, and 0≤z≤1. What expected distance exists between the two points? (From Cheney, p. 590.)← Back to challenges | Lessons