Weston
Premium Member
lol cubers are so smart.
im going to study physics in high school next year,
now i know i have a place to ask questions
im going to study physics in high school next year,
now i know i have a place to ask questions
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Long Post
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]]}]
.....
The cream absorbs the same amount of heat from both cups.
...
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?
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:The student wastes more energy when he puts the cream into his coffee
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 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.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).
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).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.
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.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).
But k doesn't depend on total mass or amount of substance - only the area of the substance exposed.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.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.
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
Right, I should've realized thatk = 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 = 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]]}]
Meaning the complicated error-prone computation now agrees with the simple explanationMeaning...
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.Meaning the complicated error-prone computation now agrees with the simple explanationMeaning...![]()
...Also, what is the shape of the cup?
...Also, what is the shape of the cup?
As a topologist, I must say the cup is doughnut shaped.
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.
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![]()