Question: Two random points in the unit cube

  We have two random points A(X1,Y1,Z1) and B(X2,Y2,Z2) in the unit cube, ie X1, X2, Y1, Y2, Z1, and Z2 are collectively independent random variables uniformly distributed on the interval [0,1].
  How to find  the mean of the distance between A and B with Maple? The same question in higher dimensions.

Please Wait...