Part of eval main bdd945f six, agent version bdd945f
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
draft 24: failed in solution.rb, line 12 — ArgumentError: copper_block_on_ice gives the specific heat capacity of copper twice: 0.39 J g-1 K-1 and 0.39e3 J kg-1 K-1
1solve :copper_block_on_ice, using: Calorimetry do2 objects :copper, :ice34 take copper_mass: copper.mass5 take hot: 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),11 ice.temperature_after => "0 °C"12 deduce_from "Specific heat of copper = 0.39 J g⁻¹ K⁻¹", copper.specific_heat_capacity => "0.39e3 J kg-1 K-1"ArgumentError: copper_block_on_ice gives the specific heat capacity of copper twice: 0.39 J g-1 K-1 and 0.39e3 J kg-1 K-113 deduce_from "heat of fusion of water = 335 J g⁻¹", ice.latent_heat => "335e3 J/kg"1415161718 ice_melted = ice.mass19 answer ice_melted:, in: "kg", figures: 22021 conclusion "The copper cools to 0 °C, giving up heat that melts ice at 0 °C; the maximum melt occurs when all the copper's heat is used."22end