ExpectedValue
ExpectedValue[f,list] gives the expected value of the pure function f with respect to the values in list.
ExpectedValue[f,list,x] gives the expected value of the function f of x with respect to the values of list.
ExpectedValue[f,dist] gives the expected value of the pure function f with respect to the symbolic distribution dist.
ExpectedValue[f,dist,x] gives the expected value of the function f of x with respect to the symbolic distribution dist.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.