Two random variables $Z$ and $W$ are uncorrelated if $E(ZW)= E(Z)E(W)$.
Let $X$ and $Y$ be independent random variables receiving 1 with probability $\frac{1}{2}$ and $0$ otherwise.
Prove that $X+Y$ and $|X-Y|$ are uncorrelated random variables but are not independent random variables.
So far what I did is $E(X+Y) = E(X) + E(Y) = \frac{1}{2} + \frac{1}{2} = 1$.
But how do I calculate $E(|X-Y|)$??