3.2 Discrete random variable. Let X_{i} (i = 1, 2) be uniformly, independently distributed over the integers 0, 1, 2, .. ., m. Define the distance between X_{1} and X_{2} as
D = |X_{1} - X_{2}|
a. Determine the pmf for D. b. Show that E[D] = (1/3)m + (1/3)[m/(m+1)].
a. Determine the pmf for D.
b. Show that E[D] = (1/3)m + (1/3)[m/(m+1)].