Let [tex]\mu[/tex] be the average weight of chocolate chips in each bag.
As per given , we have
[tex]H_0: \mu =439.0\\\\ H_a: \mu<439.0[/tex]
Since [tex]H_a[/tex] is left-tailed , so we perform a left-tailed test.
Also, the population standard deviation is known [tex]\sigm=21.0[/tex].
So we use z-test.
Test statistic : [tex]z=\dfrac{\overline{x}-\mu}{\dfrac{\sigma}{\sqt{n}}}[/tex]
Substitute given value ,[tex]\overline{x}=433.0\ , n=47,\ \sigma=21 \ , \mu=439[/tex]
[tex]z=\dfrac{433-439}{\dfrac{21}{\sqrt{47}}}\approx-1.96[/tex]
Significance level = 0.05
Decision rule : Reject [tex]H_0[/tex] when p-value < 0.05.
By z-table , P- value for left-tailed test = P(z<-1.96)= 1- P(z<1.96)
[∵ P(Z<-z)=1-P(Z<z)]
= 1- 0.9750
=0.025
Since , P-value(0.025) < 0.05 , so we reject the null hypothesis.
We support the claim that the machine is underfilling the bags at 0.05 significance level .