Temperature_calculation