Example: Boltzman distribution