Let
X be the random variable which denotes the Rs gained by the person.
Total cases
=6×6=36 Favorable cases for the person on winning
Rs.15 are (1,1),(2,2),(3,3),(4,4), (5,5),(6,6) i.e., 6 cases.
∴P(X=15)== Favorable cases for the person on winning
Rs.12 are (6,3) , (5,4),(4,5), (3,6) i.e., 4
∴P(X=12)== Remaining cases
=36−6−4=26 ∴P(X=−6)==Hence,
E(X)=∑X.P(X)=+− =−