• Support PF! Buy your school textbooks, materials and every day products Here!

Newtons law of cooling

  • Thread starter vorcil
  • Start date
  • #1
393
0

Homework Statement


Newton's law of cooling says that the rate at which the emperature of any object changes is proportional to the temperature difference between the object and its surroundings. So if the temperature of the object is T, and its surroundings are at a constant temperature [tex] \hat{T} [/tex]

[tex] \frac{dT}{dt} = -k(T - \hat{T}) [/tex]

a) let [tex] \theta = T - \hat{T} [/tex], Show that [tex] \frac{d\theta}{dt} = -k\theta [/tex] and hence write down the general solution for [tex] \theta(t) [/tex]

b) given [tex] \theta(0) = 64 [/tex] and [tex] \theta(2) = 36 [/tex], find [tex] \theta(3) [/tex]




The Attempt at a Solution


a)

[tex] \frac{d\theta}{dt} = -k\theta [/tex]

[tex] \int \frac{d\theta}{dt} = \int -k\theta [/tex]

re arranging
[tex] \int \frac{d\theta}{\theta} = \int -k dt [/tex]

and integrating
[tex] ln(\theta) = -k t + C[/tex]
(I think I add a + C?)

exponentiating both sides
[tex] eln(\theta) = e^{-kt +c} = Ce^{-kt} [/tex]
though I'm not sure why the C goes out to the front, or why it is being multiplied by C

simplifying gives the solution
[tex] \theta(t) = Ce^{-kt} [/tex]




b)

[tex] \theta(0) = Ce^{-k * 0} = 64 [/tex]

since [tex] e^{-k * 0} = e^0 = 1 [/tex]
that makes
[tex] C*1 = 64 [/tex]
so C = 64

now
[tex] \theta(2) = 36 [/tex]
so

[tex] 64*e^{-k * 2} = 36 [/tex]

[tex] e^{-k * 2} = \frac{36}{64} [/tex]

taking the logarithim of each side

[tex] -k*2 = ln(\frac{36}{64} [/tex]

solving for k, I get, K = 0.28768


then going to [tex] \theta(3) [/tex]

putting it into the equation, then a calculator

64*e^{-0.28768*3} = 27

I think this is right, since it is a real number / integer, and it sort of fits the pattern

-

if someone could check, i'd be very happy, thank you :P
 

Answers and Replies

  • #2
Mentallic
Homework Helper
3,798
94
Firstly, you haven't answered the very first question.

a) let [tex] \theta = T - \hat{T} [/tex], Show that [tex] \frac{d\theta}{dt} = -k\theta [/tex]
Don't worry, when I was studying this, I did exactly the same thing and assumed I already had answered it. It's quite an arbitrary idea so you may need a little more practise here, because it's asked quite often on tests.

So you have the equations:

[tex]
\frac{dT}{dt} = -k(T - \hat{T})
[/tex]

[tex]\theta=T-\hat{T}[/tex]

And you need to show that

[tex]\frac{d\theta}{dt} = -k\theta [/tex]

Use the fact that [tex]\frac{d\theta}{dt}=\frac{d\theta}{dT}.\frac{dT}{dt}[/tex]

exponentiating both sides
[tex] eln(\theta) = e^{-kt +c} = Ce^{-kt} [/tex]
though I'm not sure why the C goes out to the front, or why it is being multiplied by C
By a rule of exponentiation, [tex]a^{b+c}=a^ba^c[/tex]

so [tex]e^{-kt+c}=e^{-kt}e^c[/tex] but since c is just some constant we don't know yet, ec is also just some constant, so we simplify things and just give it another constant C (big c, don't use the same constant because [itex]c\neq e^c[/itex]).

Everything else is right, but if you aren't strapped for time in a test situation, then you may want to try a slightly more elegant approach to giving the final answer which will be an exact solution rather than relying on your calculator, for example, rather than:

taking the logarithim of each side

[tex] -k*2 = ln(\frac{36}{64} [/tex]

solving for k, I get, K = 0.28768


then going to [tex] \theta(3) [/tex]

putting it into the equation, then a calculator

64*e^{-0.28768*3} = 27
You could do this,

[tex]-2k=ln\left(\frac{36}{64}\right)=ln\left(\frac{9}{16}\right)[/tex]

[tex]k=\frac{-1}{2}ln\left(\frac{9}{16}\right)[/tex]

[tex]=ln\left(\left(\frac{9}{16}\right)^{-1/2}\right)[/tex]

[tex]=ln\left(\left(\frac{16}{9}\right)^{1/2}\right)[/tex]

[tex]k=ln\left(\frac{4}{3}\right)[/tex]

then

[tex]\theta(3)=64e^{-3ln\left(\frac{4}{3}\right)}[/tex]

[tex]=64\left(e^{ln4-ln3}\right)^{-3}[/tex]

by using a combination of the rules [tex]ln\frac{a}{b}=lna-lnb[/tex] and [tex]e^{ab}=(e^a)^b[/tex]

[tex]=64\left(\frac{e^{ln4}}{e^{ln3}}\right)^{-3}[/tex]

[tex]=64\left(\frac{3}{4}\right)^3[/tex]

[tex]=64\left(\frac{27}{64}\right)[/tex]

[tex]\theta(3)=27[/tex]


There you have it, a confirmation that 27 is indeed the correct answer and your calculator isn't rounding off or anything.
Doing this in practise you'll of course be able to skip a lot of steps when you get more comfortable at doing it :smile:

good luck!
 

Related Threads on Newtons law of cooling

  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
1K
Top