The formula for standard deviation is $\sqrt{\frac{\Sigma x^2}{n} - \left(\frac{\Sigma x}{n}\right)^2}$, where $\Sigma x^2$ is the sum of the squares of each entry, $\Sigma x$ is the sum of all entries, and $n$ is the number of entries.
For the single line
Show more…