Lecture notes on thermodynamic