Suppose X takes on the values {x_1, x_2, ..., x_n} with equal probability, i.e., P(X = x_i) = \frac{1}{n} for i = 1, 2, ..., n.
The mean of X, denoted as E(X), is given by:
E(X) = \sum_{i=1}^{n} x_i P(X = x_i) = \frac{1}{n} \sum_{i=1}^{n} x_i
Now, let's
Show more…