"The Refrigerator and the Universe, Understanding the Laws of Energy",
Martin Goldstein and Inge. F. Goldstein, Harvard Univ. Press,1993
ISBN 0-674-75324-0
I haven't finished reading it, but it promises to "tell how the concepts
of energy and entropy were discovered, ... and to describe how the concepts
of energy and entropy have been modified by quantum mechanics and the theory
of relativity, and how they apply to the expanding universe."