結果 : define expectation of function of two random variables