We present a computational random walk method of measuring the isothermal
pressure of the lattice gas with and without the excluded volume interaction.
The method is based on the discretization of the exact thermodynamic relation
for the pressure. The simulation results are in excellent agreement with the
theoretical predictions.Comment: 10 Pages, 2 Figures, Teaching Material. To Appear in Physica