Answer:

Explanation:
Let be X the event : ''The number of courses the selected student is taking''
X is a discrete random variable.
X has the following probability function :

Let's check that f(x) is a probability function :
The sumatory of all it ranges must be equal to 1

Then f(x) defines a probability function.
The expected number of the random variable X is :
The sum of all its xi.f(xi) from i = 1 to n
