play phryzby with physics

A Pan of Hot Food

solved NewtonsLawOfCooling

Q. A pan filled with hot food cools from 94 °CTp(cf₀)=94°C to 86 °CTp(cf₁)=86°C in 2 minΔtcf=2min when the room temperature is at 20 °CTr=20°C. How long will it take to cool from 71 °CTp(cl₀)=71°C to 69 °CTp(cl₁)=69°C, in seconds?

tTroom 20 °C94 °C86 °CΔt = 120 s71 °C69 °CΔt = ?k
Inputs
Tp
94 °C
Tp
86 °C
Δtcf
2 min
Tr
20 °C
Tp
71 °C
Tp
69 °C
Outputs
timeΔtcl?

How it's solved

Solved with NewtonsLawOfCooling

Given

  • Tp(cf₀)=94°C
  • Tp(cf₁)=86°C
  • Δtcf=2min
  • Tr=20°C
  • Tp(cl₀)=71°C
  • Tp(cl₁)=69°C

Find Δtcl.

Working
  1. Tp(cf₀)=94°C=367.15K
  2. Tp(cf₁)=86°C=359.15K
  3. Δtcf=2min=120s
  4. Tr=20°C=293.15K
  5. Tp(cl₀)=71°C=344.15K
  6. Tp(cl₁)=69°C=342.15K
  7. cooling goes as the excess over the surroundings(cooling first)Tp(cf₁)-Tp(cf₀)Δtcf=−kc,p⋅(Tp(cf₀)+Tp(cf₁)2-Tr)
  8. 359.15-367.15120=−kc,p⋅(367.15+359.152-293.15)
  9. kc,p=9.52380952×10−4s⁻¹
  10. cooling goes as the excess over the surroundings(cooling later)Tp(cl₁)-Tp(cl₀)Δtcl=−kc,p⋅(Tp(cl₀)+Tp(cl₁)2-Tr)
  11. 342.15-344.15Δtcl=−9.52380952×10−4⋅(344.15+342.152-293.15)
  12. Δtcl=42.00 s
  13. Δtcl≈42sto 2 significant figures
Conclusion

The pan loses heat at a rate set by how much hotter than the room it is; nearer the room's temperature it cools more slowly, so a smaller drop still takes a while.

The web of concepts

given read from the words equation asked

The Ruby that solves it

The question and its solution are small Ruby files. The engine runs them.

question.rb
1require_relative "../physics"23question :a_pan_of_hot_food do4  kind :numerical5  describes "A pan filled with hot food cools from %{first_from} to %{first_to} in %{first_time} when the room " \6            "temperature is at %{room}. %{time} to cool from %{then_from} to %{then_to}, in seconds?"7  given first_from: "94 °C"8  given first_to: "86 °C"9  given first_time: "2 min"10  given room: "20 °C"11  given then_from: "71 °C"12  given then_to: "69 °C"13  asks time: "How long will it take"14end
solution.rb
1require_relative "../questions/a_pan_of_hot_food"2require_relative "../science/thermal_properties_of_matter/newtons_law_of_cooling"34solve :a_pan_of_hot_food, using: NewtonsLawOfCooling do5  objects :pan, :room6  pan.goes(:cooling_first, in: room)7  pan.goes(:cooling_later, in: room)89  take first_from: pan.temperature(at: cooling_first.start)10  take first_to: pan.temperature(at: cooling_first.end)11  take first_time: cooling_first.time_taken12  take room: room.temperature13  take then_from: pan.temperature(at: cooling_later.start)14  take then_to: pan.temperature(at: cooling_later.end)1516  time = cooling_later.time_taken17  answer time:, in: "s", figures: 21819  conclusion "The pan loses heat at a rate set by how much hotter than the room it is; nearer the room's " \20             "temperature it cools more slowly, so a smaller drop still takes a while."21end
playground.rb
1require_relative "../solutions/a_pan_of_hot_food"23play_with :a_pan_of_hot_food do4  title "A Pan of Hot Food"5end
The laws it drew on
quantitywrittenunitswithinfrom
positionxm—Velocity
displacementΔxm—Velocity
path lengthdm—Velocity
time takenΔts0 … 1e+05Velocity
average velocityvavm/s—Velocity
average speedcavm/s—Velocity
starting positionx0m—Velocity
final positionxm—Velocity
temperatureTK0 … ∞NewtonsLawOfCooling
cooling constantkcs⁻¹—NewtonsLawOfCooling
starting temperatureT0K0 … ∞NewtonsLawOfCooling
final temperatureTfK0 … ∞NewtonsLawOfCooling
displacement of pan during cooling firstΔxp(cf)m—
position of pan at end of cooling firstxp(cf₁)m—
position of pan at start of cooling firstxp(cf₀)m—
displacement of pan during cooling laterΔxp(cl)m—
position of pan at end of cooling laterxp(cl₁)m—
position of pan at start of cooling laterxp(cl₀)m—
average velocity of pan during cooling firstvav,p(cf)m/s—
time taken of cooling firstΔtcfs0 … 1e+05
average velocity of pan during cooling latervav,p(cl)m/s—
time taken of cooling laterΔtcls0 … 1e+05
average speed of pan during cooling firstcav,p(cf)m/s—
path length of pan during cooling firstdp(cf)m—
average speed of pan during cooling latercav,p(cl)m/s—
path length of pan during cooling laterdp(cl)m—
temperature of pan at start of cooling firstTp(cf₀)K0 … ∞
temperature of pan at end of cooling firstTp(cf₁)K0 … ∞
cooling constant of pankc,ps⁻¹—
temperature of roomTrK0 … ∞
temperature of pan at start of cooling laterTp(cl₀)K0 … ∞
temperature of pan at end of cooling laterTp(cl₁)K0 … ∞
cooling constant of roomkc,rs⁻¹—
x0≡xi(start of motion)
starting position
x≡xi(end of motion)
final position
T0≡Ti(start of motion)
starting temperature
Tf≡Ti(end of motion)
final temperature
di(whole)=di(part 1)+di(part 2)
path in parts
Δtw=Δtp+Δtp
time in parts
Ti(end of cooling)-Ti(start of cooling)Δtc=−kc,i⋅(Ti(start of cooling)+Ti(end of cooling)2-Ts)
cooling goes as the excess over the surroundings
Δxp(cf)=xp(cf₁)-xp(cf₀)
change of position(cooling first)
Δxp(cl)=xp(cl₁)-xp(cl₀)
change of position(cooling later)
vav,p(cf)=Δxp(cf)Δtcf
displacement a time(cooling first)
vav,p(cl)=Δxp(cl)Δtcl
displacement a time(cooling later)
cav,p(cf)=dp(cf)Δtcf
path a time(cooling first)
cav,p(cl)=dp(cl)Δtcl
path a time(cooling later)
Tp(cf₁)-Tp(cf₀)Δtcf=−kc,p⋅(Tp(cf₀)+Tp(cf₁)2-Tr)
cooling goes as the excess over the surroundings(cooling first)
Tp(cl₁)-Tp(cl₀)Δtcl=−kc,p⋅(Tp(cl₀)+Tp(cl₁)2-Tr)
cooling goes as the excess over the surroundings(cooling later)