Solution (source code)

= Solution

Linearity of <expectation> and the vanishing of cross <covariances> for independent variables give
$$
\boxed{\mathbb E\left[\frac1n\sum_{j=1}^nX_j\right]=\mu,\qquad\operatorname{Var}\left(\frac1n\sum_{j=1}^nX_j\right)=\frac1{n^2}\sum_{j=1}^n\sigma^2=\frac{\sigma^2}{n}.}
$$
The <expectation> formula does not require independence; independence is used for the <variance> sum.