Thermodynamics and statistical Mechanics