Let $X_i$ be iid with continuous uniform distribution on $(0,100)$. Find expected number of $N$
Where $$N = \min \{ n : \sum_{i=1}^{n} X_i \geq 1000 \}$$
My thoughts:
$E[\sum X_i] = \sum E[X_i]$, and each $E[X_i] = 50$. So it would take $20$ of $E[X_i]$ to reach $1000$. It seems rather straighfoward. But is this rigorious? Is there a "trap" I missed?