Hey, I'm getting kinda weird results for problem 4 when comparing analytical to numerical results. I get heat capacity and susceptibility to be lower numerically than the analytic values.
problem4_chi.pdf
Am I right in computing
mean(E) = \sum_{N+} d(N+) exp(-E(N+)) E(N+)
and equivalently for M?
FWIW, the means computed numerically and analytically aren't much different (like less than 1% or thereabouts), but the heat capacity and susceptibility seem very sensitive to these small differences.
Hey, I'm getting kinda weird results for problem 4 when comparing analytical to numerical results. I get heat capacity and susceptibility to be lower numerically than the analytic values. problem4_chi.pdf
Am I right in computing mean(E) = \sum_{N+} d(N+) exp(-E(N+)) E(N+) and equivalently for M?
FWIW, the means computed numerically and analytically aren't much different (like less than 1% or thereabouts), but the heat capacity and susceptibility seem very sensitive to these small differences.