The expectation value of an observable in quantum mechanics is calculated by integrating the product of the complex conjugate of the wave function, the observable, and the wave function over all space.
The expectation value gives the average outcome of a measurement of the observable for a particle described by a given wave function. In this case, the observable is the separation squared between two particles.