Continuous random expectation transformation

For a continuous random variable, if the probability density function is f(x) and the transformation function is t(x):

E(g(X))=\int_a^b\,t(x)\times f(x)\,\,dx