SOLUTION: Outside temperature over a day can be modelled as a sinusoidal function. Suppose you know the high temperature for the day is 90 degrees and the low temperature of 80 degrees occur

Algebra ->  Trigonometry-basics -> SOLUTION: Outside temperature over a day can be modelled as a sinusoidal function. Suppose you know the high temperature for the day is 90 degrees and the low temperature of 80 degrees occur      Log On


   



Question 1183251: Outside temperature over a day can be modelled as a sinusoidal function. Suppose you know the high temperature for the day is 90 degrees and the low temperature of 80 degrees occurs at 6 AM. Assuming t is the number of hours since midnight, find an equation for the temperature, D, in terms of t.
D(t)=
How do i go about this question

Found 3 solutions by Theo, ikleyn, greenestamps:
Answer by Theo(13342) About Me  (Show Source):
You can put this solution on YOUR website!
in a 24 hour day, the low is 80 degrees and the high is 90 degrees.
the low occurs at 6:00 am.
you don't say when the high occurs, however, if it is modeled by a sinusoidal function, it would have to be either sine or cosine.
tangent won't do because tangent doesn't have a low or a high, i.e. the low or high in the tangent function is plus or minus infinity.
i'll use sine function.
we want the period to be 24 hours.
that makes the frequency equal to 360 / 24 = 15.
the general form is y = a * sin(b * (x - c)) + d
a is the amplitude.
b is the frequency.
c is the horizontal shift.
d is the vertical shift.
the amplitude will be plus or minus 5 from the horizontal center line.
the vertical shift will make the horizontal center line 85 units above the x-axis.
so far, the equation looks like it will be:
y = 5 * sin(15 * (x-c)) + 85.
with a 0 horizontal shift, the equation becomes:
y = 5 * sin(15 * (x - 0)) + 85.
that looks like this:



i saw that, if i made the amplitude -5 instead of +5, that the low point would be at 6:00 am.
the equation would be y = -5 * sin(15 * (x - 0)) + 85.
that looks like this:



i then saw that, if i left the amplitude as +5, but shifted the graph to the left 12 units, that i would also get the low point at 6:00 am.
that equation would be y = 5 * sin(15 * (x + 12)) + 85.
that looks like this:



i could also have used the cosine function.
it give the same graph, with the same amplitude and frequency and vertical shift, but the horizontal shift would have to be different.

one possible equation would be:
y = -5 * cos(15 * (x - 6)) + 85
that looks like this:










Answer by ikleyn(52803) About Me  (Show Source):
You can put this solution on YOUR website!
.
Outside temperature over a day can be modelled as a sinusoidal function.
Suppose you know the high temperature for the day is 90 degrees and the low temperature of 80 degrees occurs at 6 AM.
Assuming t is the number of hours since midnight, find an equation for the temperature, D, in terms of t.
D(t)=
How do i go about this question
~~~~~~~~~~~~~~~~


The difference between the highest and lowest temperature is 90 - 80 = 10 degrees;  

hence, the midline is 85 degrees and the amplitude is  10%2F2 = 5 degrees.



Next, if x is the time starting from 6 am (x= 0 when the temperature is lowest), then OBVIOUSLY, the temperature as a function of x is


    D(x) = 85+-+5%2Acos%282pi%2A%28x%2F24%29%29      (1)


(we use the sign  " - "  to reflect cosinusoid about the midline, and we use the ratio x/24 to model the period of 24 hours).



Now, if t is the time after midnight, then x = t-6,  so the formula (1) takes the final form


    D(t) = 85+-+5%2Acos%282pi%2A%28%28t-6%29%2F24%29%29.        ANSWER


Or, if you like to use degrees instead of radians, then the same formula takes an EQUIVALENT form


    D(t) = 85+-+5%2Acos%2815%5Eo%2A%28t-6%29%29.          ANSWER

Solved.

=============

How tutor  @Theo solved the problem,  is a formal presentation;  but as far as I know,  in reality,
nobody solves such problems in this way,  and  (in my opinion)  it is not a good way to teach students.


I am 100% convinced that after such teaching,  although formally it is right,  the students' understanding will be  ZERO.


What I showed you in my post,  is a way to solve such problems  using common sense
(combined with the knowledge of elementary  Trigonometry).  I hope, it is much more educative.



Answer by greenestamps(13200) About Me  (Show Source):
You can put this solution on YOUR website!


I will strongly disagree with the comments from tutor @ikleyn about the relative merits of her response and the response from the other tutor.

The other tutor's response, although it is not a particularly good straightforward presentation, contains a lot of information for a student who is trying to learn how to work problems like this.

On the other hand, tutor @ikelyn's statement early in her response that the equation is "obviously" _____ is of absolutely no use to a student who is trying to learn how to work the problem. The equation might be obvious to her; but I very much doubt it is obvious to a beginning student.

Here is what I would do with this problem.

The statement of the problem implies that the period of the sinusoidal function is 24 hours. With t=0 at midnight and the minimum temperature at 6am, the minimum temperature occurs exactly one-quarter of the way through the cycle. That means at t=0 the temperature is at the midline and is decreasing.

A basic sine function at t=0 is at the midline and increasing; a basic cosine function at t=0 is at its maximum. So a sinusoidal function that is at the midline and decreasing at t=0 is most easily represented by a negative sine function with no phase shift:

T%28t%29+=+-a%2Asin%28b%28t-0%29%29%2Bd

a is the amplitude; b is 2pi divided by the period; the 0 represents no phase shift; and d is the midline.

The minimum and maximum temperatures are 80 and 90; that makes the midline 85 and the amplitude 5. And the period is 24 hours. So the function is

T%28t%29+=+-5sin%28%28t%2F24%292pi%29%2B85

A graph, showing the temperature over a little more than one period....

graph%28400%2C400%2C-2%2C26%2C75%2C95%2C80%2C90%2C-5%2Asin%28%28x%2F24%292pi%29%2B85%29