external energy vs internal energy