Modify the ising program to compute the average energy of the system over all iterations. To do this, first add code to the initialise subroutine compute the initial energy of the lattice; then, whenever a dipole is flipped, change the energy variable by the appropriate amount. When computing the average energy, be sure to average over all iterations, not just those iterations in which a dipole is actually flipped (why?). Run the program for a 5 x 5 lattice for T values from 4 down to l in reasonably small intervals, then plot the average energy as a function of T. Also plot the heat capacity. Use at least 1000 iterations per dipole for each run, preferably more. If your computer is fast enough, repeat for a 10x 10 lattice and for a 20 x 20 lattice. Discuss the results. (Hint: Rather than starting over at each temperature with a random initial state, you can save time by starting with the final state generated at the previous, nearby temperature. For the larger lattices you may wish to save time by considering only a smaller temperature interval, perhaps from 3 down to 1.5.)

Short Answer

Expert verified

Hence, heat capacity with respect to temperature is given in the picture.

Step by step solution

01

Given information

Modify the ising program to compute the average energy of the system over all iterations. To do this, first add code to the initialise subroutine compute the initial energy of the lattice; then, whenever a dipole is flipped, change the energy variable by the appropriate amount. When computing the average energy, be sure to average over all iterations, not just those iterations in which a dipole is actually flipped. Run the program for a 5 x 5 lattice for T values from 4 down to l in reasonably small intervals, then plot the average energy as a function of T.

02

Explanation

Below is the code for determining the average energy:

03

Explanation

This graph depicts average energy (y-axis) as a function of temperature (x-axis):

And the heat capacity is:

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

At T = 0, equation 8.50 says that s¯=1. Work out the first temperature-dependent correction to this value, in the limit βn1. Compare to the low-temperature behaviour of a real ferromagnet, treated in Problem 7.64.

In this problem you will use the mean field approximation to analyse the behaviour of the Ising model near the critical point.

(a) Prove that, when x1,tanhxx-13x3

(b) Use the result of part (a) to find an expression for the magnetisation of the Ising model, in the mean field approximation, when T is very close to the critical temperature. You should find MTc-Tβ¯,whereβ(not to be confused with 1/kT) is a critical exponent, analogous to the f defined for a fluid in Problem 5.55. Onsager's exact solution shows that β=1/8in two dimensions, while experiments and more sophisticated approximations show that β1/3in three dimensions. The mean field approximation, however, predicts a larger value.

(c) The magnetic susceptibility χis defined as χ(M/B)T. The behaviour of this quantity near the critical point is conventionally written as χT-Tc-γ , where y is another critical exponent. Find the value of in the mean field approximation, and show that it does not depend on whether T is slightly above or slightly below Te. (The exact value of y in two dimensions turns out to be 7/4, while in three dimensions γ1.24.)

Consider a gas of "hard spheres," which do not interact at all unless their separation distance is less than r0, in which case their interaction energy is infinite. Sketch the Mayer f-function for this gas, and compute the second virial coefficient. Discuss the result briefly.

Modify the ising program to simulate a one-dimensional Ising model.

(a) For a lattice size of 100, observe the sequence of states generated at various temperatures and discuss the results. According to the exact solution (for an infinite lattice), we expect this system to magnetise only as the temperature goes to zero; is the behaviour of your program consistent with this prediction? How does the typical cluster size depend on temperature?

(b) Modify your program to compute the average energy as in Problem 8.27. Plot the energy and heat capacity vs. temperature and compare to the exact result for an infinite lattice.

(c) Modify your program to compute the magnetisation as in Problem 8.28. Determine the most likely magnetisation for various temperatures and sketch a graph of this quantity. Discuss.

In this section I've formulated the cluster expansion for a gas with a fixed number of particles, using the "canonical" formalism of Chapter 6. A somewhat cleaner approach, however, is to use the "grand canonical" formalism introduced in Section 7.1, in which we allow the system to exchange particles with a much larger reservoir.

(a) Write down a formula for the grand partition function (Z) of a weakly interacting gas in thermal and diffusive equilibrium with a reservoir at fixed T andµ. Express Z as a sum over all possible particle numbers N, with each term involving the ordinary partition function Z(N).

(b) Use equations 8.6 and 8.20 to express Z(N) as a sum of diagrams, then carry out the sum over N, diagram by diagram. Express the result as a sum of similar diagrams, but with a new rule 1 that associates the expression (>./vQ) J d3ri with each dot, where >. = e13µ,. Now, with the awkward factors of N(N - 1) · · · taken care of, you should find that the sum of all diagrams organizes itself into exponential form, resulting in the formula

Note that the exponent contains all connected diagrams, including those that can be disconnected by removal of a single line.

(c) Using the properties of the grand partition function (see Problem 7.7), find diagrammatic expressions for the average number of particles and the pressure of this gas.

(d) Keeping only the first diagram in each sum, express N(µ) and P(µ) in terms of an integral of the Mayer /-function. Eliminate µ to obtain the same result for the pressure (and the second virial coefficient) as derived in the text.

(e) Repeat part (d) keeping the three-dot diagrams as well, to obtain an expression for the third virial coefficient in terms of an integral of /-functions. You should find that the A-shaped diagram cancels, leaving only the triangle diagram to contribute to C(T).

See all solutions

Recommended explanations on Physics Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free