How to calculate the quantity of heat absorbed with any substance? Is it a equation?