Expectation of random variables