A) Given the points (1,18.35) and (29,17.5), we can find the linear model with the following formulas:

therefore, the linear model is y = -0.03x+18.38
B)We have the general cosine model:

Where A is the vertical shift, B is the amplitude, w is the frequency and phi is the phase shift.
First, we can find the vertical shift with the following formula:

in this case, we have that the maximum value for y is 19.47 and the minimum value for y is16.18, then:

next, we can find the amplitud with the following formula:

We have then:

Now, notice that the graph will repeat every 356 values for t, then, for the frequency we have the following expression:

To find the phase shift, notice that for the point (172,19.47), we have the following:

notice that if the cosine equals 1, then its argument must equal to 0, then, we have:

we have that the phase shift is phi = 172, then, the final cosine model is:
