Statistical Mechanics Of Thermodynamics