play phryzby with physics

Water Cooling Toward Its Surroundings

solved NewtonsLawOfCooling

Q. A certain quantity of water cools from 70 °CTw(cf₀)=70°C to 60 °CTw(cf₁)=60°C in the first 5 minΔtcf=5min and to 54 °CTw(cn₁)=54°C in the nextTw(cn₀)=Tw(cf₁) 5 minΔtcn=5min. The temperature of the surroundings is :

tTair T = ?70 °C60 °CΔt = 300 s54 °CΔt = 300 sk

How it's solved

Solved with NewtonsLawOfCooling

Given

  • Tw(cf₀)=70°C
  • Tw(cf₁)=60°C
  • Δtcf=5min
  • Tw(cn₁)=54°C
  • Δtcn=5min
  • Tw(cn₀)=Tw(cf₁) from “in the next”

Find Ta.

Working
  1. Tw(cf₀)=70°C=343.15K
  2. Tw(cf₁)=60°C=333.15K
  3. Δtcf=5min=300s
  4. Tw(cn₁)=54°C=327.15K
  5. Δtcn=5min=300s
  6. in the nextTw(cn₀)=Tw(cf₁)
  7. Tw(cn₀)=333.15
  8. Tw(cn₀)=333.15K
  9. cooling goes as the excess over the surroundings(cooling first)Tw(cf₁)-Tw(cf₀)Δtcf=−kc,w⋅(Tw(cf₀)+Tw(cf₁)2-Ta)
  10. cooling goes as the excess over the surroundings(cooling next)Tw(cn₁)-Tw(cn₀)Δtcn=−kc,w⋅(Tw(cn₀)+Tw(cn₁)2-Ta)
  11. kc,w=0.00166666667s⁻¹
  12. cooling goes as the excess over the surroundings(cooling first)Tw(cf₁)-Tw(cf₀)Δtcf=−kc,w⋅(Tw(cf₀)+Tw(cf₁)2-Ta)
  13. 333.15-343.15300=−0.00166666667⋅(343.15+333.152-Ta)
  14. Ta=45°C
  15. Ta=318.15K=45°C
Conclusion

The water loses heat at a rate set by how much hotter than its surroundings it is; the second drop is smaller because it starts nearer room temperature, and only 45 °C makes the two rates agree.

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 :water_cooling_toward_its_surroundings do4  kind :scq5  describes "A certain quantity of water cools from %{first_from} to %{first_to} in the first %{first_time} and to " \6            "%{then_to} in the next %{then_time}. The temperature of the surroundings is :"7  given first_from: "70 °C"8  given first_to: "60 °C"9  given first_time: "5 min"10  given then_to: "54 °C"11  given then_time: "5 min"1213  option "20 °C"14  option "42 °C"15  option "10 °C"16  option "45 °C"17end
solution.rb
1require_relative "../questions/water_cooling_toward_its_surroundings"2require_relative "../science/thermal_properties_of_matter/newtons_law_of_cooling"34solve :water_cooling_toward_its_surroundings, using: NewtonsLawOfCooling do5  objects :water, :air6  water.goes(:cooling_first, in: air)7  water.goes(:cooling_next, in: air)89  take first_from: water.temperature(at: cooling_first.start)10  take first_to: water.temperature(at: cooling_first.end)11  take first_time: cooling_first.time_taken12  take then_to: water.temperature(at: cooling_next.end)13  take then_time: cooling_next.time_taken14  deduce_from "in the next", water.temperature(at: cooling_next.start) => water.temperature(at: cooling_first.end)1516  answer find_value(air.temperature, in: "°C")1718  conclusion "The water loses heat at a rate set by how much hotter than its surroundings it is; the second drop is " \19             "smaller because it starts nearer room temperature, and only 45 °C makes the two rates agree."20end
playground.rb
1require_relative "../solutions/water_cooling_toward_its_surroundings"23play_with :water_cooling_toward_its_surroundings do4  title "Water Cooling Toward Its Surroundings"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 water during cooling firstΔxw(cf)m—
position of water at end of cooling firstxw(cf₁)m—
position of water at start of cooling firstxw(cf₀)m—
displacement of water during cooling nextΔxw(cn)m—
position of water at end of cooling nextxw(cn₁)m—
position of water at start of cooling nextxw(cn₀)m—
average velocity of water during cooling firstvav,w(cf)m/s—
time taken of cooling firstΔtcfs0 … 1e+05
average velocity of water during cooling nextvav,w(cn)m/s—
time taken of cooling nextΔtcns0 … 1e+05
average speed of water during cooling firstcav,w(cf)m/s—
path length of water during cooling firstdw(cf)m—
average speed of water during cooling nextcav,w(cn)m/s—
path length of water during cooling nextdw(cn)m—
temperature of water at start of cooling firstTw(cf₀)K0 … ∞
temperature of water at end of cooling firstTw(cf₁)K0 … ∞
cooling constant of waterkc,ws⁻¹—
temperature of airTaK0 … ∞
temperature of water at start of cooling nextTw(cn₀)K0 … ∞
temperature of water at end of cooling nextTw(cn₁)K0 … ∞
cooling constant of airkc,as⁻¹—
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
Δxw(cf)=xw(cf₁)-xw(cf₀)
change of position(cooling first)
Δxw(cn)=xw(cn₁)-xw(cn₀)
change of position(cooling next)
vav,w(cf)=Δxw(cf)Δtcf
displacement a time(cooling first)
vav,w(cn)=Δxw(cn)Δtcn
displacement a time(cooling next)
cav,w(cf)=dw(cf)Δtcf
path a time(cooling first)
cav,w(cn)=dw(cn)Δtcn
path a time(cooling next)
Tw(cf₁)-Tw(cf₀)Δtcf=−kc,w⋅(Tw(cf₀)+Tw(cf₁)2-Ta)
cooling goes as the excess over the surroundings(cooling first)
Tw(cn₁)-Tw(cn₀)Δtcn=−kc,w⋅(Tw(cn₀)+Tw(cn₁)2-Ta)
cooling goes as the excess over the surroundings(cooling next)
Tw(cn₀)=Tw(cf₁)
in the next