Given
Sample size n = 50
Sample mean \(\overline{x}\) = 999.5 grams
Population mean µ = 1000 grams
Population SD σ = 1 gram
H0 : µ = 1 kg
H1 : µ ≠ 1 kg
Test statistic :
Z = (999.5 - 1000)/(1/√50) = -3.54
The table value of Zα/2 at 1% level = 2.58. Since |Z| > , Zα/2 H0 is rejected. Therefore the machine is not working properly.