we can express the relationship between internal energy and temperature as:
ΔU=CvdT
internal energy is a function of temperature because internal energy of ideal gas comprises of molecular kinetic energy which further depends on the temperature and hence,