Given a discrete random variable X with probability distribution:
Find the mean (expected value) of X.