fundamentals of thermodynamics solution