The relationship between absolute temperature of an ideal gas and average energy is