play phryzby with physics

Part of eval backend edge-thanveer, agent version bdd945f

stuck
24 drafts checked

A copper block of mass 2.5 kg is heated in a furnace to a temperature of 500 °C and then placed on a large ice block. Specific heat of copper = 0.39 J g⁻¹ K⁻¹; heat of fusion of water = 335 J g⁻¹. What is the maximum amount of ice that can melt, in kg?

expects 1.5 kg

24 checks, 0 agreed

draft 24: failed in solution.rb, line 11 — ArgumentError: copper_block_on_ice deduces from “Specific heat of copper = %{copper_heat}”, which it never says

solution.rb · draft 24 stopped at line 11
1solve :copper_block_on_ice, using: Calorimetry do2  objects :copper, :ice34  take copper_mass: copper.mass5  take copper_temp: copper.temperature_at_first6  take copper_heat: copper.specific_heat_capacity7  take fusion: ice.latent_heat89  deduce_from "placed on a large ice block", ice.temperature_at_first => "0 °C"10  deduce_from "maximum amount of ice that can melt", copper.heat_to_warm => -(ice.heat_to_change_phase), ice.temperature_after => "0 °C"11  deduce_from "Specific heat of copper = %{copper_heat}", copper.specific_heat_capacity => "0.39 J g-1 K-1"ArgumentError: copper_block_on_ice deduces from “Specific heat of copper = %{copper_heat}”, which it never says121314151617181920  2122  ice_melted = ice.mass23  answer ice_melted:, in: "kg", figures: 22425  conclusion "The copper cools to 0 °C, giving up heat that melts ice at its melting point; the maximum ice melted occurs when all the copper's heat is used to melt ice."26end