If I have two independent variables $x$ and $y$ with a uniform distribution between -1 and 1. How would I calculate the expected value of their absolute sum. e.g.
$E(|x + y|)$
I wrote some code to brute force this here https://jsbin.com/xorixa/edit?js,console
The result comes out to be $2/3$ but my question is how would I go about calculating this.