The monthly high temperature for Atlantic City, New Jersey, peaks at an average high of 86 degrees in July and goes down to an average high of 64 degrees in January. Assume that this pattern for monthly high temperatures continues indefinitely and behaves like a cosine wave.
a. Write a function of the form H(t) = A cos (Bt - C) + D to model the average high temperature. The value H(t) is the average high temperature for month t, with January as t = 0.
b. Graph the function from part (a) on the interval [0, 13] and plot the points (0,64), (6, 86); and (12, 64) to check the accuracy of your model.