I was wondering how I would calculate the power of a noise, if I have a uniformly distributed white noise between $-\frac{q}{2}$ and $\frac{q}{2}$? My approach was to use the formula
$$\int\limits_{-\frac{q}{2}}^{\frac{q}{2}} x^2 \ \frac{1}{q} \ \mathrm{d}x = \frac{q^2}{12}$$
But I'm not sure if that is right. Or do I need to use the autocorrelation function, which I think should be $R_{XX}(\tau) = \frac{1}{q^2} \delta(\tau)$, to calculate the power spectral density function $S_X(f) = \frac{1}{q^2}$? I'm just confused about the exact definition of power here.