Question: how to calculate how much heat energy is absorbed?
Answer: You can do this easily: just multiply the heat capacity of the substance you're heating by the mass of the substance and the change in temperature to find the heat absorbed.