play phryzby with physics

A Steel Tape on a Hot Day

solved ThermalExpansion

Q. A steel tape 1m long is correctly calibrated for a temperature of 27.0 °CT1,t=27.0°C. The length of a steel rod measured by this tapeL2,r=L2,t is found to be 63.0 cmL1,t=63.0cm on a hot day when the temperature is 45.0 °CT2,t=45.0°C. Coefficient of linear expansion of steel = 1.20 × 10⁻⁵ K⁻¹αl,t=1.20×10−5K⁻¹. What is the actual length of the steel rod on that day, in cm?

L₁ = 0.63 mα = 1.2×10⁻⁵ /KL₂ΔL27 °C45 °C
Inputs
T1,t
27 °C
L1,t
63 cm
T2,t
45 °C
αl,t
1.2e-05 K⁻¹
Outputs
actualL2,r?

How it's solved

Solved with ThermalExpansion

Given

  • T1,t=27.0°C
  • L1,t=63.0cm
  • T2,t=45.0°C
  • αl,t=1.20×10−5K⁻¹
  • L2,r=L2,t from “measured by this tape”

Find L2,r.

Working
  1. T1,t=27.0°C=300.15K
  2. L1,t=63.0cm=0.63m
  3. T2,t=45.0°C=318.15K
  4. linear expansion(tape)L2,t-L1,t=αl,t⋅L1,t⋅(T2,t-T1,t)
  5. L2,t-0.63=1.2×10−5⋅0.63⋅(318.15-300.15)
  6. L2,t=0.63013608m
  7. measured by this tapeL2,r=L2,t
  8. L2,r=0.63013608
  9. L2,r=63.01cm
  10. L2,r=0.63013608m=63.013608cm
  11. L2,r≈63.0136cmto 6 significant figures
Conclusion

On the hot day the tape has grown, so each of its marked centimetres is a little longer than a true one; the rod is as long as that stretched piece of tape.

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_steel_tape_on_a_hot_day do4  kind :numerical5  describes "A steel tape 1m long is correctly calibrated for a temperature of %{calibrated}. The length of a steel " \6            "rod measured by this tape is found to be %{reading} on a hot day when the temperature is %{hot}. " \7            "Coefficient of linear expansion of steel = %{expansion}. %{actual}, in cm?"8  given calibrated: "27.0 °C"9  given reading: "63.0 cm"10  given hot: "45.0 °C"11  given expansion: "1.20e-5 K-1"12  asks actual: "What is the actual length of the steel rod on that day"13end
solution.rb
1require_relative "../questions/a_steel_tape_on_a_hot_day"2require_relative "../science/thermal_properties_of_matter/thermal_expansion"34solve :a_steel_tape_on_a_hot_day, using: ThermalExpansion do5  objects :tape, :rod67  take calibrated: tape.temperature_at_first8  take reading: tape.length_at_first9  take hot: tape.temperature_after10  take expansion: tape.coefficient_of_linear_expansion1112  deduce_from "measured by this tape", rod.length_after => tape.length_after1314  actual = rod.length_after15  answer actual:, in: "cm", figures: 61617  conclusion "On the hot day the tape has grown, so each of its marked centimetres is a little longer " \18             "than a true one; the rod is as long as that stretched piece of tape."19end
playground.rb
1require_relative "../solutions/a_steel_tape_on_a_hot_day"23play_with :a_steel_tape_on_a_hot_day do4  title "A Steel Tape on a Hot Day"5end
The laws it drew on
quantitywrittenunitswithinfrom
length at firstL1m—ThermalExpansion
length afterL2m—ThermalExpansion
change in lengthΔlm—ThermalExpansion
temperature at firstT1K—ThermalExpansion
temperature afterT2K—ThermalExpansion
coefficient of linear expansionαlK⁻¹—ThermalExpansion
length after of groundL2,gm—
length at first of groundL1,gm—
coefficient of linear expansion of groundαl,gK⁻¹—
temperature after of groundT2,gK—
temperature at first of groundT1,gK—
length after of tapeL2,tm—
length at first of tapeL1,tm—
coefficient of linear expansion of tapeαl,tK⁻¹—
temperature after of tapeT2,tK—
temperature at first of tapeT1,tK—
length after of rodL2,rm—
length at first of rodL1,rm—
coefficient of linear expansion of rodαl,rK⁻¹—
temperature after of rodT2,rK—
temperature at first of rodT1,rK—
change in length of groundΔlgm—
change in length of tapeΔltm—
change in length of rodΔlrm—
L2,b-L1,b=αl,b⋅L1,b⋅(T2,b-T1,b)
linear expansion
Δlb=L2,b-L1,b
the change is the length after less the length at first
L2,g-L1,g=αl,g⋅L1,g⋅(T2,g-T1,g)
linear expansion(ground)
L2,t-L1,t=αl,t⋅L1,t⋅(T2,t-T1,t)
linear expansion(tape)
L2,r-L1,r=αl,r⋅L1,r⋅(T2,r-T1,r)
linear expansion(rod)
Δlg=L2,g-L1,g
the change is the length after less the length at first(ground)
Δlt=L2,t-L1,t
the change is the length after less the length at first(tape)
Δlr=L2,r-L1,r
the change is the length after less the length at first(rod)
L2,r=L2,t
measured by this tape