Radial distribution function: Difference between revisions

Content deleted Content added
m The structure factor: Fix punctuation following formula
m Thermodynamic properties in 3D: For consistent notation throughout the article, changed k_B -> k
Line 120:
The pressure of the system can also be calculated by relating the 2nd [[virial coefficient]] to <math> g(r)</math> . The pressure can be calculated as follows:<ref name=softmatter/>
 
:<math>P = \rho k_BTkT-\frac{2}{3}\pi\rho^2\int_{0}^{\infty}dr\frac{du(r)}{dr}r^3g(r)</math>
 
Where <math>T</math> is the temperature and <math>k_B</math> is Boltzmann's constant. Note that the results of potential and pressure will not be as accurate as directly calculating these properties because of the averaging involved with the calculation of <math>g(r)</math>.