frame.append(0,x,f.evaluate(x));The deprecated frame.show() should be replaced by frame.setVisible(true).
m | sm |
4 | 0.888660216 |
5 | 0.891666845 |
double r = bin*dr; double shellArea = Math.PI*(Math.pow(r+dr,2) - Math.pow(r,2));In dataRDF.append, g should be replaced by RDF.
return 1 + virialSum/(2*t*N*temperature);We thank Amy Bug for pointing out this error.
gridSize = control.getInt("size");
idealGas.N = control.getInt("number of particles N");
control.setValue("Number of particles N", 40);
public void changeTemperature(double newTemperature) { temperature = newTemperature; w[8] = Math.exp(-8.0/temperature); w[4] = Math.exp(-4.0/temperature); }
F(E) = -kT ln[g(E)e-βE].
p eβJ e-6βJ = p (1-p)6eβJ e6βJ
Equation of state calculations for fast computing machines,J. Chem. Phys. 21, 1087-1092 (1953). We thank Louis Colonna-Romano for pointing out this error.