Note that the mean of a transformed uniform variable is just the mean value of the function doing the transformation over the domain (since we are expecting each value to be selected equally). This is simply,
$$
\frac{1}{b-a}\int_a^b{t(x)}dx = \int_0^1{t(x)}dx
$$
For example (in R):
$$
\int_0^1{log(x)}dx = (1\cdot log(1)-1) - 0 = 0-1 =-1
$$
mean(log(runif(1e6)))
[1] -1.000016
integrate(function(x) log(x), 0, 1)
-1 with absolute error < 1.1e-15
$$
\int_0^1{x^2}dx = \frac{1}{3}(1^3-0^3) = \frac{1}{3}
$$
mean(runif(1e6)^2)
[1] 0.3334427
integrate(function(x) (x)^2, 0, 1)
0.3333333 with absolute error < 3.7e-15
$$
\int_0^1{e^x}dx = e^1-e^0 = e-1
$$
mean(exp(runif(1e6)))
[1] 1.718425
integrate(function(x) exp(x), 0, 1)
1.718282 with absolute error < 1.9e-14
exp(1)-1
[1] 1.718282