39. The temperature outside during a 12-hour period is given by
\[
T(h) = 60 - 5 \cos\left(\frac{\pi h}{8}\right), \quad 0 \leq h \leq 12
\]
where \( T(h) \) is measured in degrees Fahrenheit and \( h \) is measured in hours.
Find the average temperature, to the nearest degree Fahrenheit, between \( h = 2 \) and \( h = 9 \).
What is the average temperature?