how to calculate how much heat is absorbed?
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.