Potential Distribution Method in Equilibrium Statistical Mechanics