Rpi Thermodynamics And Statistical Mechanics