Internal energy via Heat and Work