Second law, exercise 18