Textbook for thermodynamics