Step 1 :First, we need to calculate the mean of each sample. The mean is calculated by adding all the numbers in the sample and then dividing by the number of items in the sample.
Step 2 :For sample A, the mean is \((2+2+7+7+7)/5 = 5\).
Step 3 :For sample B, the mean is \((6+1127+1199)/3 = 777.33\).
Step 4 :Next, for each number in the sample, we subtract the mean and square the result. This gives us the squared differences.
Step 5 :For sample A, the squared differences are \((2-5)^2, (2-5)^2, (7-5)^2, (7-5)^2, (7-5)^2\).
Step 6 :For sample B, the squared differences are \((6-777.33)^2, (1127-777.33)^2, (1199-777.33)^2\).
Step 7 :Then, we find the mean of these squared differences. This gives us the variance.
Step 8 :For sample A, the variance is \((9+9+4+4+4)/5 = 6\).
Step 9 :For sample B, the variance is \((594721.67+122089.67+177489.67)/3 = 298100.33\).
Step 10 :Finally, we take the square root of the variance to get the standard deviation.
Step 11 :The standard deviation of sample A is \(\sqrt{6} = 2.45\).
Step 12 :The standard deviation of sample B is \(\sqrt{298100.33} = 546.44\).
Step 13 :So, the standard deviation of sample A is \(\boxed{2.45}\) and the standard deviation of sample B is \(\boxed{546.44}\).