Ans. The expected value of a random variable is calculated by multiplying each possible value by its corresponding probability and summing up these products. It represents the average value one would expect to obtain if the random variable is repeatedly measured or observed.