The
mean value
of a variable X with probability distribution p(x) is given by: