To compute the value of the test statistic for the given hypothesis test, we will use the formula for the z-test for a single mean. The formula is:
\[ z = \frac{\bar{x} - \mu}{\sigma / \sqrt{n}} \]
Where:
- \(\bar{x}\) is the sample mean (999.1 grams),
- \(\mu\) is the population mean under the null hypothesis (1000 grams),
- \(\sigma\) is the known population standard deviation (2 grams),
- \(n\) is the sample size (47).
Now we can plug in the values:
\[ z = \frac{999.1 - 1000}{2 / \sqrt{47}} \]
First, we calculate the denominator:
\[ 2 / \sqrt{47} \approx 2 / 6.855654 (approximately \sqrt{47} \approx 6.855654) \] \[ 2 / \sqrt{47} \approx 0.2919 \]
Next, we compute the numerator:
\[ 999.1 - 1000 = -0.9 \]
Now we can calculate \(z\):
\[ z = \frac{-0.9}{0.2919} \approx -3.08 \]
So, rounding to two decimal places, the value of the test statistic is:
\[ \boxed{-3.08} \]