A Pan of Hot Food
Q. A pan filled with hot food cools from 94 °C°C to 86 °C°C in 2 minmin when the room temperature is at 20 °C°C. How long will it take to cool from 71 °C°C to 69 °C°C, in seconds?
Inputs
Outputs
time?
How it's solved
Solved with NewtonsLawOfCooling
Given
- °C
- °C
- min
- °C
- °C
- °C
Find .
Working
- °CK
- °CK
- mins
- °CK
- °CK
- °CK
- cooling goes as the excess over the surroundings(cooling first)
- s⁻¹
- cooling goes as the excess over the surroundings(cooling later)
- sto 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.
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"14end1require_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."21endplayground.rb
1require_relative "../solutions/a_pan_of_hot_food"23play_with :a_pan_of_hot_food do4 title "A Pan of Hot Food"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| position | m | — | Velocity | |
| displacement | m | — | Velocity | |
| path length | m | — | Velocity | |
| time taken | s | 0 … 1e+05 | Velocity | |
| average velocity | m/s | — | Velocity | |
| average speed | m/s | — | Velocity | |
| starting position | m | — | Velocity | |
| final position | m | — | Velocity | |
| temperature | K | 0 … ∞ | NewtonsLawOfCooling | |
| cooling constant | s⁻¹ | — | NewtonsLawOfCooling | |
| starting temperature | K | 0 … ∞ | NewtonsLawOfCooling | |
| final temperature | K | 0 … ∞ | NewtonsLawOfCooling | |
| displacement of pan during cooling first | m | — | ||
| position of pan at end of cooling first | m | — | ||
| position of pan at start of cooling first | m | — | ||
| displacement of pan during cooling later | m | — | ||
| position of pan at end of cooling later | m | — | ||
| position of pan at start of cooling later | m | — | ||
| average velocity of pan during cooling first | m/s | — | ||
| time taken of cooling first | s | 0 … 1e+05 | ||
| average velocity of pan during cooling later | m/s | — | ||
| time taken of cooling later | s | 0 … 1e+05 | ||
| average speed of pan during cooling first | m/s | — | ||
| path length of pan during cooling first | m | — | ||
| average speed of pan during cooling later | m/s | — | ||
| path length of pan during cooling later | m | — | ||
| temperature of pan at start of cooling first | K | 0 … ∞ | ||
| temperature of pan at end of cooling first | K | 0 … ∞ | ||
| cooling constant of pan | s⁻¹ | — | ||
| temperature of room | K | 0 … ∞ | ||
| temperature of pan at start of cooling later | K | 0 … ∞ | ||
| temperature of pan at end of cooling later | K | 0 … ∞ | ||
| cooling constant of room | s⁻¹ | — |