X assumes values 1, 2, 3 with probabilities (1)/(2), (1)/(4), (1)/(4) . Calculate