Solution
We can assume a normal distribution since the problem states that the samples came from this distributoon
And for this case we can use the following formula:
For this case mean = 40 , sigma = 7, n=13 and z_alpha/2 represent a quantile from the normal standard distribution, for the confidence levels 90%, 95% and 99% the z values are: 1.64, 1.96 and 2.58 and replacing we have:
90% confidence
95% confidence
99% confidence