Work and change of energy