Two experiments to approach the Boltzmann factor: chemical reaction and viscous flow