The physical law that explains that is the law of conservation of energy which states that he energy of an isolated sistem remains constant
In general, the quantity of heat energy, Q, required to raise a mass m kg of a substance with a specific heat capacity of <span>c </span>J/(kg °C), from temperature t1 °C to t2 °C is given by:
<span>Q </span>= <span>mc(t</span><span>2 </span><span>– t</span>1<span>) joules</span>
<span>So:</span>
(t2-t1) =Q / mc
<span>As we know:
Q = 500 J </span>
<span>m = 0.4 kg</span>
<span>c = 4180 J/Kg </span>°c
<span>We can take t1 to be 0</span>°c
t2 - 0 = 500 / ( 0.4 * 4180 )
t2 - 0 = 0.30°c