The Lennard–Jones

interaction potential is defined as

, where

is the minimum,

is the distance at which the potential changes sign, and

is an exponent that defines the shape of the potential. The conventional Lennard–Jones potential uses

. In this Demonstration, you can control the exponent

to plot the second virial coefficient

, relative to the hard-sphere value

, as a function of the reduced temperature

. The value of the Boyle temperature

(at which

) is also calculated. You can control the temperature range

of the plot in units of the Boyle temperature.