play phryzby with physics

A Brass Rod Joined to a Steel Rod

solved ThermalExpansion

Q. A brass rod of length 50 cmL1,b=50cm and diameter 3.0 mm is joined toΔlc=Δlb+Δls a steel rod of the same lengthL1,s=L1,b and diameter. The ends of the rod are free to expand (Co-efficient of linear expansion of brass = 2.0 × 10⁻⁵ K⁻¹αl,b=2.0×10−5K⁻¹, steel = 1.2 × 10⁻⁵ K⁻¹αl,s=1.2×10−5K⁻¹). What is the change in length of the combined rod at 250 °CT2,b=250°C, if the original lengths are atT1,s=T1,b, T2,s=T2,b 40.0 °CT1,b=40.0°C, in cm?

brassL₁ = 0.5 mα = 2×10⁻⁵ /KL₂ΔLsteelL₁α = 1.2×10⁻⁵ /KL₂ΔL40 °C250 °Ctotal ΔL = ?
Inputs
L1,b
50 cm
αl,b
2e-05 K⁻¹
αl,s
1.2e-05 K⁻¹
T2,b
250 °C
T1,b
40 °C
Outputs
changeΔlc?

How it's solved

Solved with ThermalExpansion

Given

  • L1,b=50cm
  • αl,b=2.0×10−5K⁻¹
  • αl,s=1.2×10−5K⁻¹
  • T2,b=250°C
  • T1,b=40.0°C
  • L1,s=L1,b from “of the same length”
  • T1,s=T1,b from “if the original lengths are at”
  • T2,s=T2,b from “if the original lengths are at”
  • Δlc=Δlb+Δls from “joined to”

Find Δlc.

Working
  1. L1,b=50cm=0.5m
  2. T2,b=250°C=523.15K
  3. T1,b=40.0°C=313.15K
  4. linear expansion(brass)L2,b-L1,b=αl,b⋅L1,b⋅(T2,b-T1,b)
  5. L2,b-0.5=2×10−5⋅0.5⋅(523.15-313.15)
  6. L2,b=0.5021m
  7. the change is the length after less the length at first(brass)Δlb=L2,b-L1,b
  8. Δlb=0.5021-0.5
  9. Δlb=0.0021m
  10. of the same lengthL1,s=L1,b
  11. L1,s=0.5
  12. L1,s=0.5m
  13. if the original lengths are at (temperature after of steel)T2,s=T2,b
  14. T2,s=523.15
  15. T2,s=523.15K
  16. if the original lengths are at (temperature at first of steel)T1,s=T1,b
  17. T1,s=313.15
  18. T1,s=313.15K
  19. linear expansion(steel)L2,s-L1,s=αl,s⋅L1,s⋅(T2,s-T1,s)
  20. L2,s-0.5=1.2×10−5⋅0.5⋅(523.15-313.15)
  21. L2,s=0.50126m
  22. the change is the length after less the length at first(steel)Δls=L2,s-L1,s
  23. Δls=0.50126-0.5
  24. Δls=0.00126m
  25. joined toΔlc=Δlb+Δls
  26. Δlc=0.0021+0.00126
  27. Δlc=0.336cm
  28. Δlc=0.00336m=0.336cm
  29. Δlc≈0.34cmto 2 significant figures
Conclusion

With both ends free, each rod grows as it would alone, and the combined rod grows by the sum of the two.

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_brass_rod_joined_to_a_steel_rod do4  kind :numerical5  describes "A brass rod of length %{length} and diameter 3.0 mm is joined to a steel rod of the same length and " \6            "diameter. The ends of the rod are free to expand (Co-efficient of linear expansion of brass = " \7            "%{brass_expansion}, steel = %{steel_expansion}). %{change} at %{hot}, if the original lengths are at " \8            "%{cool}, in cm?"9  given length: "50 cm"10  given brass_expansion: "2.0e-5 K-1"11  given steel_expansion: "1.2e-5 K-1"12  given hot: "250 °C"13  given cool: "40.0 °C"14  asks change: "What is the change in length of the combined rod"15end
solution.rb
1require_relative "../questions/a_brass_rod_joined_to_a_steel_rod"2require_relative "../science/thermal_properties_of_matter/thermal_expansion"34solve :a_brass_rod_joined_to_a_steel_rod, using: ThermalExpansion do5  objects :brass, :steel, :combined67  take length: brass.length_at_first8  take brass_expansion: brass.coefficient_of_linear_expansion9  take steel_expansion: steel.coefficient_of_linear_expansion10  take hot: brass.temperature_after11  take cool: brass.temperature_at_first1213  deduce_from "of the same length", steel.length_at_first => brass.length_at_first14  deduce_from "if the original lengths are at", steel.temperature_at_first => brass.temperature_at_first,15                                                steel.temperature_after => brass.temperature_after16  deduce_from "joined to", combined.change_in_length => brass.change_in_length + steel.change_in_length1718  change = combined.change_in_length19  answer change:, in: "cm", figures: 22021  conclusion "With both ends free, each rod grows as it would alone, and the combined rod grows by the " \22             "sum of the two."23end
playground.rb
1require_relative "../solutions/a_brass_rod_joined_to_a_steel_rod"23play_with :a_brass_rod_joined_to_a_steel_rod do4  title "A Brass Rod Joined to a Steel Rod"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 brassL2,bm—
length at first of brassL1,bm—
coefficient of linear expansion of brassαl,bK⁻¹—
temperature after of brassT2,bK—
temperature at first of brassT1,bK—
length after of steelL2,sm—
length at first of steelL1,sm—
coefficient of linear expansion of steelαl,sK⁻¹—
temperature after of steelT2,sK—
temperature at first of steelT1,sK—
length after of combinedL2,cm—
length at first of combinedL1,cm—
coefficient of linear expansion of combinedαl,cK⁻¹—
temperature after of combinedT2,cK—
temperature at first of combinedT1,cK—
change in length of groundΔlgm—
change in length of brassΔlbm—
change in length of steelΔlsm—
change in length of combinedΔlcm—
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,b-L1,b=αl,b⋅L1,b⋅(T2,b-T1,b)
linear expansion(brass)
L2,s-L1,s=αl,s⋅L1,s⋅(T2,s-T1,s)
linear expansion(steel)
L2,c-L1,c=αl,c⋅L1,c⋅(T2,c-T1,c)
linear expansion(combined)
Δlg=L2,g-L1,g
the change is the length after less the length at first(ground)
Δlb=L2,b-L1,b
the change is the length after less the length at first(brass)
Δls=L2,s-L1,s
the change is the length after less the length at first(steel)
Δlc=L2,c-L1,c
the change is the length after less the length at first(combined)
L1,s=L1,b
of the same length
T1,s=T1,b
if the original lengths are at (temperature at first of steel)
T2,s=T2,b
if the original lengths are at (temperature after of steel)
Δlc=Δlb+Δls
joined to