A Body Cools in a Room
Q. A body cools from 80 °C°C to 50 °C°C in 5 minmin. The temperature of the surroundings is 20 °C°C. How long does it take to cool from 60 °C°C to 30 °C°C, in minutes?
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)
- min
- smin
- minto 1 significant figure
Conclusion
The body loses heat at a rate set by how much hotter than its surroundings it is; the same drop nearer room temperature comes more slowly and takes longer.
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_body_cools_in_a_room do4 kind :numerical5 describes "A body cools from %{first_from} to %{first_to} in %{first_time}. The temperature of the surroundings " \6 "is %{room}. %{time} to cool from %{then_from} to %{then_to}, in minutes?"7 given first_from: "80 °C"8 given first_to: "50 °C"9 given first_time: "5 min"10 given room: "20 °C"11 given then_from: "60 °C"12 given then_to: "30 °C"13 asks time: "How long does it take"14end1require_relative "../questions/a_body_cools_in_a_room"2require_relative "../science/thermal_properties_of_matter/newtons_law_of_cooling"34solve :a_body_cools_in_a_room, using: NewtonsLawOfCooling do5 objects :body, :room6 body.goes(:cooling_first, in: room)7 body.goes(:cooling_later, in: room)89 take first_from: body.temperature(at: cooling_first.start)10 take first_to: body.temperature(at: cooling_first.end)11 take first_time: cooling_first.time_taken12 take room: room.temperature13 take then_from: body.temperature(at: cooling_later.start)14 take then_to: body.temperature(at: cooling_later.end)1516 time = cooling_later.time_taken17 answer time:, in: "min", figures: 11819 conclusion "The body loses heat at a rate set by how much hotter than its surroundings it is; the same " \20 "drop nearer room temperature comes more slowly and takes longer."21endplayground.rb
1require_relative "../solutions/a_body_cools_in_a_room"23play_with :a_body_cools_in_a_room do4 title "A Body Cools in a Room"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 body during cooling first | m | — | ||
| position of body at end of cooling first | m | — | ||
| position of body at start of cooling first | m | — | ||
| displacement of body during cooling later | m | — | ||
| position of body at end of cooling later | m | — | ||
| position of body at start of cooling later | m | — | ||
| average velocity of body during cooling first | m/s | — | ||
| time taken of cooling first | s | 0 … 1e+05 | ||
| average velocity of body during cooling later | m/s | — | ||
| time taken of cooling later | s | 0 … 1e+05 | ||
| average speed of body during cooling first | m/s | — | ||
| path length of body during cooling first | m | — | ||
| average speed of body during cooling later | m/s | — | ||
| path length of body during cooling later | m | — | ||
| temperature of body at start of cooling first | K | 0 … ∞ | ||
| temperature of body at end of cooling first | K | 0 … ∞ | ||
| cooling constant of body | s⁻¹ | — | ||
| temperature of room | K | 0 … ∞ | ||
| temperature of body at start of cooling later | K | 0 … ∞ | ||
| temperature of body at end of cooling later | K | 0 … ∞ | ||
| cooling constant of room | s⁻¹ | — |