How Do You Calculate the Average Temperature Over Time in Athens, GA?

  • Thread starter Thread starter cmajor47
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary

Homework Help Overview

The problem involves calculating the average daily temperature in Athens, GA, using a cosine function that models temperature over time. The specific task is to find the average temperature between two given times, September 15 and December 25, represented as t=2 and t=5 in the equation T=61+18cos(πt/6).

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss whether to use direct substitution of t values or integration to find the average temperature. Some suggest that simple averaging may not be appropriate due to the non-linear nature of the function.

Discussion Status

Several participants have provided insights into the necessity of integration for finding the average value of the function over the specified interval. There is ongoing exploration of the Mean Value Theorem for Integrals, with some participants questioning the correctness of the initial approaches and calculations presented.

Contextual Notes

Participants note that the problem is situated within a chapter focused on integration, which may imply that integration is the expected method for solving the problem. There is also mention of potential issues with calculator outputs when using inverse trigonometric functions.

cmajor47
Messages
53
Reaction score
0

Homework Statement


The mean daily temperature in degrees fahrenheit in Athens, GA, t months after July 15 is closely approximated by T=61+18cos(πt/6)
Find the average temp. between September 15 (t=2) and December 25 (t=5).

Homework Equations


T=61+18cos(πt/6)

The Attempt at a Solution


Can I just plug in t=2 and t=5 into the equation, add the answers, then divide by two to get the average temp. Or do I have to use integration. I'm not sure because the question is asked in the chapter on integration but it doesn't look like I need to use it.
 
Physics news on Phys.org
I think you have to find the average of the function by integration. Adding and dividing by two works if the function is linear. For example, suppose that between t = 2 and t = 4.9 the temperature is 40 and between t = 4.9 and t = 5 it is -10. Then surely you would disagree if I said that the average temperature between t = 2 and t = 5 was (40 - 10)/2 = 15 degrees?
 
Last edited:
You have to use integration. The reason for this is because your function [tex]t: [a,b] \rightarrow R[/tex] is continuous. By the Mean Value Theorem for Integrals then there is a point [tex]x_{0}[/tex] in [a,b] such that

[tex]\frac{1}{b-a} \int_a^{b} t = t(x_{0})[/tex] where [a,b] is [2,5].
 
I tried using the Mean Value Theorem and came up with this.
[tex] \frac{1}{5-2}\int_2^{5} 61+18\cos\frac{\pi t}{6} dt = 61+18\cos\frac{\pi t_{0}}{6}[/tex]

[tex] \frac{1}{3} 61t+\frac{108}{\pi}sin\frac{\pi t}{6} \mid_2^{5} = \frac{-\sqrt3+1}{\pi}[/tex]

[tex] 61+18cos\frac{\pi t_{0}}{6} = \frac{-\sqrt3+1}{\pi}[/tex]

[tex]t_{0}\approx 3.449[/tex]

When I plug this into [tex]61+18cos\frac{\pi t}{6}[/tex] I get approximately 56.8056. Is this right?
 
Last edited:
cmajor47 said:
I tried using the Mean Value Theorem and came up with this.
[tex] \frac{1}{5-2}\int_2^{5} 61+18\cos\frac{\pi t}{6} dt = 61+18\cos\frac{\pi t_{0}}{6}[/tex]

[tex] \frac{1}{3} 61t+\frac{108}{\pi}sin\frac{\pi t}{6} \mid_2^{5} = \frac{-\sqrt3+1}{\pi}[/tex]

[tex] 61+18cos\frac{\pi t_{0}}{6} = \frac{-\sqrt3+1}{\pi}[/tex]

[tex]t_{0}\approx 3.449[/tex]

When I plug this into [tex]61+18cos\frac{\pi t}{6}[/tex] I get approximately 56.8056. Is this right?

assuming that you got initial equations correct, I also got same answer ..

>> int ('1/3*(61+18*cos(pi*t/6))','t',2,5)

ans =

-(-61*pi+18*3^(1/2)-18)/pi


>> eval(ans)

ans =

56.8057

>> (ans-61)/18

ans =

-0.2330

>> acos(ans)

ans =

1.8060

>> ans*6/pi

ans =

3.4492

>>

EDIT: ONLY THING I WOULD BE WORRIED ABOUT IS USING ACOS VALUE OF CALCULATOR, IT IS WRONG SOMETIMES ... (I will see into this) but 3.4492 looks reasonable
 
Last edited:
The answer is correct. No need for the mean value theorem:
[tex]\operatorname{avg}\limits_{[a,b]} f(x) = \frac{1}{b - a} \int_a^b f(x) \, \mathrm dx[/tex]
so in this case the average temperature is
[tex]61 + \frac{1}{3} \int 18 \cos(\pi t / 6) \, \mathrm dt = 61 + 6 \left[ \frac{6}{\pi} \sin(\pi t / 6) \right]_{t = 2}^{t = 5} = 61 + \frac{18}{\pi} \left( 1 - \sqrt{3} \right)[/tex]
which evaluates numerically to approximately 56.8057.
 
I must say that I am not at all crazy about the way you write things!
cmajor47 said:
I tried using the Mean Value Theorem and came up with this.
[tex] \frac{1}{5-2}\int_2^{5} 61+18\cos\frac{\pi t}{6} dt = 61+18\cos\frac{\pi t_{0}}{6}[/tex]
No, that is NOT correct! For one thing the integral of 61 is 61 t, for another you haven't yet evaluated at the limits of integration and finally, you have dropped the "1/(5-2)".

[tex] \frac{1}{3} 61t+\frac{108}{\pi}sin\frac{\pi t}{6} \mid_2^{5} = \frac{-\sqrt3+1}{\pi}[/tex]
Okay, now you have put them in but do you see that you shouldn't write "=" in the first row when they are NOT equal?

[tex] 61+18cos\frac{\pi t_{0}}{6} = \frac{-\sqrt3+1}{\pi}[/tex]

[tex]t_{0}\approx 3.449[/tex]

When I plug this into [tex]61+18cos\frac{\pi t}{6}[/tex] I get approximately 56.8056. Is this right?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 7 ·
Replies
7
Views
5K
Replies
3
Views
2K
Replies
4
Views
2K
Replies
6
Views
2K
Replies
1
Views
2K
Replies
6
Views
3K
Replies
6
Views
2K
Replies
3
Views
2K