Using the t-distribution, as we have the standard deviation for the sample, we have that the test statistic is given by:

<h3>What are the hypothesis tested?</h3>
At the null hypothesis, it is tested if there is no difference, that is:

At the alternative hypothesis, it is tested if there is a difference, that is:

<h3>What is the test statistic?</h3>
The test statistic is given by:

The parameters are:
is the sample mean.
is the value tested at the null hypothesis.
- s is the standard deviation of the sample.
In this problem,
is tested at the null hypothesis, and the sample is: 20, -40, -40, 0, 20, - 60, -40, hence:
.
Hence, the test statistic is:



More can be learned about the t-distribution at brainly.com/question/16313918