One fine day in Rochester the low temperature occurs at 5 a.m.
and the high temperature at 5 p.m. The temperature varies
sinusoidally all day.
The temperature hours after midnight is

where , , and are certain constants.
The low temperature is 28 and the high temperature is 48.
Find the average temperature during the first 3 hours after noon.
Hint: The high and low temperatures can be used together to find
A and B. Determine C from the fact that it is hottest at 5 p.m.