use the formula:
Q = m * c * ΔT
Where:
Q is the heat energy (in joules),
m is the mass of the substance (in kilograms),
c is the specific heat capacity of the substance (in joules per kilogram per degree Celsius),
ΔT is the change in temperature (in degrees Celsius).
For brass, the specific heat capacity is approximately 380 J/kg°C. So, let's plug in the values:
Q = 2.5 kg * 380 J/kg°C * (90°C - 25°C)