The number of tickets purchased by a computer for a musical performance at a certain concert hall can be considered a random variable.
The table below shows the relative frequency distribution for the number of tickets purchased by a customer.
Number of tickets purchasedRelative frequency10.2020.4530.1040.2050.05
Suppose each ticket for a certain musical performance cost $12. Based on the distribution shown, what is the mean cost per customer for the performance?
For discrete random variable X:
μx=E(X)=∑xiP(xi)
=1(0.20)+2(0.45)+3(0.10)+4(0.20)+5(0.05)
=2.45
So the expected number of tickets purchased is 2.45. At $12 a piece:
2.45(12)=29.40