Physics problem #3

The way I thought about it was something like this:

Imagine it's winter and the two came out of the freezing cold and now hold their cups to warm their hands. When the student uses the cream, the professor asks "Why do you cool down your cup when you want to warm your hands with it?" and the student replies "Conservation of energy - we both use the same energy, I'm just using it differently. You get the warmer hands, I get the warmer stomach".
 
Long Post

Wow, I didn't expect that; I just worked this out fully too. I don't completely follow your math on here, which is missing some ()'s.

I've attached is a plot of time vs temperature for the 2 cups, with arbitrary unitless factors c=m=k=1, Ts=1, To=2. The change happens at t=2.

And if you like, sure its a lot of cream, but changing the factors will only scale/skew the plot, and won't change what it actually looks like.

Red=Prof, Blue=Student.

Mathematica code:
Code:
k = 1;
to = 2;
te = 1;
tchange = 2;

Temp[t_, To_, Te_] := Te + (To - Te)*Exp[-k*t]
PTemp[t_] := 
 Piecewise[{{Temp[t, to, te], 
    t < tchange}, {Temp[t - tchange, (Temp[tchange, to, te] + te)/2, 
     te], t > tchange}}]
STemp[t_] := Temp[t, (te + to)/2, te]

plot = Plot[{PTemp[t], STemp[t]}, {t, 1, 10}, Axes -> False, 
  Frame -> True, PlotRange -> {{.8, 4}, {.9, 1.4}}, 
  FrameLabel -> {"time", "Temp"}, 
  PlotStyle -> {Directive[Dashed, Lighter[Red]], 
    Directive[Thin, Darker[Blue]]}]
 

Attachments

  • plot.png
    plot.png
    7 KB · Views: 60
Hmm, if Bryan and Jim are right, my fear last night back at home (where I don't have internet can you believe it no you can't) would be true, that I shouldn't have said "conservation of energy" without properly understanding it.

I thought that if the professor wastes more energy during the 20 minutes (and Jim's graph does seem to agree with that), he shouldn't expect to have the same energy left at the end. Can someone explain what's wrong here?
 
Last edited:
.....
The cream absorbs the same amount of heat from both cups.
...

It does not! The students coffee is hotter when he puts in the milk. So it cools down the students cup much more. I think the two effects even out in total.

Hmm, if Bryan and Jim are right, my fear last night back at home (where I don't have internet can you believe it no you can't) would be true, that I shouldn't have said "conservation of energy" without properly understanding it.

I thought that if the professor wastes more energy during the 20 minutes (and Jim's graph does seem to agree with that), he shouldn't expect to have more energy left at the end. Can someone explain what's wrong here?

The student wastes more energy when he puts the cream into his coffee
 
Last edited:
The student wastes more energy when he puts the cream into his coffee
I don't think adding the cream "wastes" energy at all. It becomes part of the mix, and we're interested in the temperature of the mix. Here's how I think of it:

Just to make it clearer/easier, let's say
- the "cream" actually is coffee 0 degrees cold
- the amount added is equal to the amount already in the cup

So when you add the "cream" to the coffee, the mix's temperature is half of the coffee's before. But the volume has doubled. Now...

energy = (energy/volume) * volume

When the cream is added, energy/volume is reduced by half, but volume is doubled, so the overall energy stays the same, it just gets spread inside the mix. It's not wasted.

And again, Jim's code seems to agree with my "mix's temperature is middle of component's temperatures" understanding. So I continue to be puzzled.
 
Last edited:
Hmm, if Bryan and Jim are right, my fear last night back at home (where I don't have internet can you believe it no you can't) would be true, that I shouldn't have said "conservation of energy" without properly understanding it.

I thought that if the professor wastes more energy during the 20 minutes (and Jim's graph does seem to agree with that), he shouldn't expect to have more energy left at the end. Can someone explain what's wrong here?

1. If the temperatures are the same in both cups in the end, both cups must have lost the same amount of energy (in Joule) to the environment- no way to get around this fact.
2. Because this is independent of the time of mixing, the heat loss/time (in Joule/s) must be the same for both cups for all times t.
3. The heat loss/time of the studends cup must therefore for every moment be the same as the heat loss/time of the professors cup despite the fact, that the temperature difference to the envionment is smaller.
4. The only explanation for this is that the surface of the energy radiating part of the cup of the students cup is larger because there is more fluid inside.
5. This is implicitely included in the Mathematice Code of JBCM627 because he does not change the constant k after adding the cream to the coffee.
k is only constant in a certain situation. In detail it depends for example on the mass m of the fluid and the heat loss/(time*deltaT).
 
4. The only explanation for this is that the surface of the energy radiating part of the cup of the students cup is larger because there is more fluid inside.
5. This is implicitely included in the Mathematice Code of JBCM627 because he does not change the constant k after adding the cream to the coffee.
k is only constant in a certain situation. In detail it depends for example on the mass m of the fluid and the heat loss/(time*deltaT).
The exposed surface area actually needs to remain the same for k to remain the same, as k depends on the surface area exposed. So here we assume that the cups are completely insulated, and the top of the cup (the same exposed surface area for both cups) is the only part radiating heat.

And again, Jim's code seems to agree with my "mix's temperature is middle of component's temperatures" understanding. So I continue to be puzzled.
This is only because of the particular way I coded it. What should really be done is to take the harmonic mean of the coffee and cream temperature, so it isn't necessarily right in the middle. My code was written using the arithmetic mean (meaning the coffee and cream were put in in equal proportions).


I found it helpful to think of it as a half-life problem; I didn't really understand it intuitively until then. Here is an analogous (albeit more tightly constrained) exponential problem:

Say you have a radioactive material with a half life of k. Sample #1 begins halfway decayed, while sample #2 begins undecayed.

After a time k, half the material in both samples has decayed. If we were to suddenly cause half the sample in #2 to decay at this time, would samples #1 and #2 both contain equal amounts of undecayed material?

Here it is much easier to see. If sample #1 starts at 100% and sample 2 at 50%, after a time k they will have 50% and 25% respectively. If we then half the 50%, they both contain 25% undecayed material.


Changing the half life time (k) will only stretch the graph. Changing the 50% will also only stretch the graph, and won't change the result.
 
Last edited:
4. The only explanation for this is that the surface of the energy radiating part of the cup of the students cup is larger because there is more fluid inside.
5. This is implicitely included in the Mathematice Code of JBCM627 because he does not change the constant k after adding the cream to the coffee.
k is only constant in a certain situation. In detail it depends for example on the mass m of the fluid and the heat loss/(time*deltaT).
The exposed surface area actually needs to remain the same for k to remain the same, as k depends on the surface area exposed. So here we assume that the cups are completely insulated, and the top of the cup (the same exposed surface area for both cups) is the only part radiating heat.

I totally disagree with you in this point. If the top is the only radiating part, k will decrease when you have more fluid/mass in the cup, because the same loss of energy in Joule leads to a lower decrease of the temperature T.
On the contrary, to keep k constant, the quotient surface/mass has to stay constant. Think for example of a system with two cups with temperature T. The decrease of temperature for this system is the same as for a single cup (if the distance of the two cups is large enough). The system has double mass but also double exposed surface.
 
I totally disagree with you in this point. If the top is the only radiating part, k will decrease when you have more fluid/mass in the cup, because the same loss of energy in Joule leads to a lower decrease of the temperature T.
On the contrary, to keep k constant, the quotient surface/mass has to stay constant. Think for example of a system with two cups with temperature T. The decrease of temperature for this system is the same as for a single cup (if the distance of the two cups is large enough). The system has double mass but also double exposed surface.
But k doesn't depend on total mass or amount of substance - only the area of the substance exposed.

From Newton's law of cooling, we have:
dQ/dt = h*A*(T_env-T(t))
Substituting Q(t) with C*T(t), we find that:
T_env-T(t) = Exp(-h*A*t/C + c_i) where c_i is a constant of integration. Or simplifying,
T_env-T(t) = T_0*Exp(-t*Ah/C), where T_0 is the initial temperature.

Here I point out that k = Ah/C, so the rate of decay depends on A, h, and C. h and C don't depend on the mass or amount of the sample, as they are constants representing physical attributes of the substance, and will remain the same no matter how much of it you have (assuming the coffee and cream both have similar h and C values, which is reasonable since both are mostly water). A is the only component of k that can be expected to vary here, and since we want k to be the same, we want A to remain the same.

I can see where you would think the rate of heat transfer depends on the amount of substance, and in the limit that you have a large quantity of substance, it probably does depend on how much you have. But this is only because the aforementioned cooling law no longer applies - you can't assume the substance cools uniformly any more.

If it helps, it is similar in the half life problem - the decay rate doesn't depend how much you have or the mass of it, it will still decay at the same rate.
 
I totally disagree with you in this point. If the top is the only radiating part, k will decrease when you have more fluid/mass in the cup, because the same loss of energy in Joule leads to a lower decrease of the temperature T.
On the contrary, to keep k constant, the quotient surface/mass has to stay constant. Think for example of a system with two cups with temperature T. The decrease of temperature for this system is the same as for a single cup (if the distance of the two cups is large enough). The system has double mass but also double exposed surface.
But k doesn't depend on total mass or amount of substance - only the area of the substance exposed.

From Newton's law of cooling, we have:
dQ/dt = h*A*(T_env-T(t))
Substituting Q(t) with C*T(t), we find that:
T_env-T(t) = Exp(-h*A*t/C + c_i) where c_i is a constant of integration. Or simplifying,
T_env-T(t) = T_0*Exp(-t*Ah/C), where T_0 is the initial temperature.

Here I point out that k = Ah/C, so the rate of decay depends on A, h, and C. h and C don't depend on the mass or amount of the sample

Sorry, but this is obviously wrong. Of course k is dependent on the mass:

dQ = m*C*dT,
where m is the mass of the body and C is the heat capacity of the body. On the other hand we have

dQ = h*A*(T_env -T) dt,
where h is the heat transfer coefficient and A the surface.

Setting this equal we get

m*C*dT = h*A*(T_env -T) dt, or

dT/dt = h*A/(m*C)(T_env -T),

So writing

dT/dt = -k(T-T_env) we have

k = h*A/(m*C)

Assuming that h and C is constant, we have the result that k only is constant if the *quotient* of surface A and mass m is constant.
 
k = h*A/(m*C)

Assuming that h and C is constant, we have the result that k only is constant if the *quotient* of surface A and mass m is constant.
Right, I should've realized that :o My C should = c/m, then, and I was mistaken in that it is really c which shouldn't change (C should).

I should have realized this with respect to the half life problem as well... I guess it can be thought of that if you add more substance, the half-life shouldn't change, meaning "A"/m should remain constant, where "A" is sort of a made-up area over which the substance can radiate. Since adding more substance gives a larger area over which to radiate, something else would also need to change to keep the half-life constant.

Meaning...

Code:
k = 1;
to = 2;
te = 1;
tchange = .5;
pctcoffee = .5;

Temp[t_, To_, Te_, m_] := Te + (To - Te)*Exp[-k/m*t]
PTemp[t_] := 
 Piecewise[{{Temp[t, to, te, pctcoffee], 
    t < tchange}, {Temp[
     t - tchange, (Temp[tchange, to, te, pctcoffee]*pctcoffee + 
       te*(1 - pctcoffee)), te, 1], t > tchange}}]
STemp[t_] := Temp[t, (to*pctcoffee + te*(1 - pctcoffee)), te, 1]

plot = Plot[{PTemp[t], STemp[t]}, {t, 0, 6}, Axes -> False, 
  Frame -> True, FrameLabel -> {"time", "Temp"}, PlotRange -> All, 
  PlotStyle -> {Directive[Dashed, Lighter[Red]], 
    Directive[Thin, Darker[Blue]]}]

Btw, where is Brunson with the answer he got in class?
 

Attachments

  • plot.png
    plot.png
    7.7 KB · Views: 44
Last edited:
The professor's is cooler because the temperature difference between the coffee and the table and surrounding air is larger in the professor's coffee so more energy is transferred out. In the case of the student he adds his cream first so the temperature of the coffee is lowered and the difference between the coffee and surrounding area is lower.

To paraphrase:
I am almost certain that this is the answer, the equation for specific heat is Q = mcΔT Because c and m are equal in both equations the only variable is the change in temperature. Q or the change in temperature is equal to the difference in temperature; the larger the difference the larger the change in temperature. I hope that was clear, if I've made any mistakes please reply.
 
Meaning...
Meaning the complicated error-prone computation now agrees with the simple explanation :)
It at least leads to a full explanation... the simple ones aren't entirely correct. As shown by my first plot, if you disregard the amount of coffee/cream cooling, you get a really different answer, despite the warmer cup seemingly releasing more energy. Nobody until Herbert gave an argument that completely included the amount of coffee/cream cooling - which makes a lot of difference.
 
...Also, what is the shape of the cup?

As a topologist, I must say the cup is doughnut shaped.

You seem to be assuming that the cup has a handle. My experience with coffee shops has been that they tend to use somewhat thick paper cups with plastic tops; thus, I would guess that the macroscopic shape of the surface of the coffee cup (not counting the plastic cover, which is usually either genus 1 or genus 2 but doesn't seem to be standardized) is topologically equivalent to a sphere. Of course, this may very well not be a typical coffee shop, since it oddly enough seems to incorporate waitresses, which many modern coffee-based shops don't do.

I have a further question: what grade do you think the student got?
 
Meaning...

Code:
k = 1;
to = 2;
te = 1;
tchange = .5;
pctcoffee = .5;

Temp[t_, To_, Te_, m_] := Te + (To - Te)*Exp[-k/m*t]
PTemp[t_] := 
 Piecewise[{{Temp[t, to, te, pctcoffee], 
    t < tchange}, {Temp[
     t - tchange, (Temp[tchange, to, te, pctcoffee]*pctcoffee + 
       te*(1 - pctcoffee)), te, 1], t > tchange}}]
STemp[t_] := Temp[t, (to*pctcoffee + te*(1 - pctcoffee)), te, 1]

plot = Plot[{PTemp[t], STemp[t]}, {t, 0, 6}, Axes -> False, 
  Frame -> True, FrameLabel -> {"time", "Temp"}, PlotRange -> All, 
  PlotStyle -> {Directive[Dashed, Lighter[Red]], 
    Directive[Thin, Darker[Blue]]}]

Btw, where is Brunson with the answer he got in class?

I am not completely satisfied with Exp[-k/m*t] factor, because your new approach now completley ignores the increase of the radiating surface if the mass m is increased. It should be Exp[-const*A(m)/m*t], with A(m) meaning the radiating surface in dependence of the mass m in the cup. But A(m) depends indeed on the geometry of the cup. For a usual cup A(m)/m will also decrease for increasing m (as your 1/m does), but not so fast. So the graph will look similar to your new one. But the temperature difference will be smaller. We roughly can say that A(m) is proportional to m^(2/3) so we could take Exp[-k/(m^(1/3))*t] as a better approximation . Then we get the following graph.
 
I am not completely satisfied with Exp[-k/m*t] factor, because your new approach now completley ignores the increase of the radiating surface if the mass m is increased. It should be Exp[-const*A(m)/m*t], with A(m) meaning the radiating surface in dependence of the mass m in the cup. But A(m) depends indeed on the geometry of the cup. For a usual cup A(m)/m will also decrease for increasing m (as your 1/m does), but not so fast. So the graph will look similar to your new one. But the temperature difference will be smaller. We roughly can say that A(m) is proportional to m^(2/3) so we could take Exp[-k/(m^(1/3))*t] as a better approximation . Then we get the following graph.

Agreed but only in part. Most coffee mugs are highly insulative, so the amount of heat lost to them is much less than the amount lost to the air, where convective instead of conductive heat transfer occurs, along with evaporation (which I will say doesn't change m). It is therefore probably more accurate to say that the area of radiation remains constant, since only the area exposed to air will radiate most of the energy away.

So if we wanted to be really picky about this, we could model A(m) as follows. If we have a perfectly cylindrical cup, then assuming m!=0, we have:
A(m) = A_a + A_b + A_w*m, where A_a is the area exposed to the air (constant), A_b is exposed to the bottom (also constant), and A_w*m is the amount exposed to the wall (linearly dependent on m).

With more constants (A_a = 2, A_b = .2 (convection should cool much faster than conduction, arbitrarily I'll say 10x as fast), A_w =1), we get the attached graph. For my particular code, A_w/A_b is exactly equal to the ratio of the actual areas of both, since when the cup is full m = 1. So also attached is an image of the cup :)
 

Attachments

  • cup.png
    cup.png
    12.7 KB · Views: 21
  • Untitled-1.png
    Untitled-1.png
    6 KB · Views: 27
Agreed but only in part. Most coffee mugs are highly insulative, so the amount of heat lost to them is much less than the amount lost to the air, where convective instead of conductive heat transfer occurs, along with evaporation (which I will say doesn't change m). It is therefore probably more accurate to say that the area of radiation remains constant, since only the area exposed to air will radiate most of the energy away.

So if we wanted to be really picky about this, we could model A(m) as follows. If we have a perfectly cylindrical cup, then assuming m!=0, we have:
A(m) = A_a + A_b + A_w*m, where A_a is the area exposed to the air (constant), A_b is exposed to the bottom (also constant), and A_w*m is the amount exposed to the wall (linearly dependent on m).

With more constants (A_a = 2, A_b = .2 (convection should cool much faster than conduction, arbitrarily I'll say 10x as fast), A_w =1), we get the attached graph. For my particular code, A_w/A_b is exactly equal to the ratio of the actual areas of both, since when the cup is full m = 1. So also attached is an image of the cup :)

Yes, I fully agree now. Whether the model is really adequate, only an experiment will show. Returning to the initial question I would say from my experience, that after 20 minutes both coffees are cold. :)
 
Back
Top