To calculate the standard deviation we use the
formula:
Where (x-X)² is the squared difference from the mean, and "n" is the number of samples.
First we calculate the mean, which is the sum of the samples divided by the number of samples:
[tex] \frac{5+6+7}{3} = 3[/tex]
Then we calculate the sum of the squared differences from the mean:
[tex](5-6) ^{2} +(6-6) ^{2} +(7-6) ^{2} [/tex]
[tex](-1) ^{2} +(0) ^{2} +(1) ^{2} =2[/tex]
Now we can replace the values in the formula to get:
[tex]s= \sqrt{ \frac{2}{3-1} } [/tex]
[tex]s= \sqrt{ \frac{2}{2} } [/tex]
[tex]s=1[/tex]
The standard deviation of the sample is 1