# Math Help - Modelling temperatures

1. ## Modelling temperatures

the low temp in chicago is 25 degrees, occurs in january. x = 1(january)
average high is 75 degrees which occurs in july. x=7(july)

determine the constants so that the function $f(x)=asin(b(x-c))+d$ models the data, where f(x) gives the temperature as a function of x.

this is what I have:
$f(x) = -25sin(\frac{\pi}{6}x-1)+50$
it just doesn't look right to me. though, when i go to 2nd => calc => value, it gives me close to the exact values being off only by a hundred or less.

2. Originally Posted by qleeq
the low temp in chicago is 25 degrees, occurs in january. x = 1(january)
average high is 75 degrees which occurs in july. x=7(july)

determine the constants so that the function $f(x)=asin(b(x-c))+d$ models the data, where f(x) gives the temperature as a function of x.

this is what I have:
$f(x) = -25sin(\frac{\pi}{6}x-1)+50$
it just doesn't look right to me. though, when i go to 2nd => calc => value, it gives me close to the exact values being off only by a hundred or less.
try this ...

$\displaystyle f(x) = -25\cos\left[\frac{\pi}{6}(x-1)\right]+50$