Q. An unbiased coin is tossed 5 times. Suppose that a variable X is assigned the value k when k consecutive heads are obtained for k = 3, 4, 5, otherwise X takes the value — 1. Then the expected value of X, is :
Solution:
Expected value

Solution: