Statistical and Thermal Physics: Fundamentals and Applications