Calculating Change In Internal Energy