User contributions for Cg1417
Appearance
20 November 2019
- 10:4410:44, 20 November 2019 diff hist +31 Rep:Y3CMPCG1417 →TASK: Modify your script from the previous section. You should still plot the whole temperature range, but fit the polynomial only to the peak of the heat capacity! You should find it easier to get a good fit when restricted to this region
- 10:4310:43, 20 November 2019 diff hist +34 Rep:Y3CMPCG1417 /* TASK: Use ILtemperaturerange.py to plot the average energy and magnetisation for each temperature, with error bars, for an 8\times 8 lattice. Use your intuition and results from the script ILfinalframe.py to estimate how many cycles each simulation...
- 10:4210:42, 20 November 2019 diff hist +28 Rep:Y3CMPCG1417 /* TASK: find the temperature at which the maximum in C occurs for each datafile that you were given. Make a text file containing two colums: the lattice side length (2,4,8, etc.), and the temperature at which C is a maximum. This is your estimate of T...
- 10:4110:41, 20 November 2019 diff hist +68 Rep:Y3CMPCG1417 /* TASK: find the temperature at which the maximum in C occurs for each datafile that you were given. Make a text file containing two colums: the lattice side length (2,4,8, etc.), and the temperature at which C is a maximum. This is your estimate of T...
- 10:3910:39, 20 November 2019 diff hist +118 Rep:Y3CMPCG1417 →TASK: Modify your script from the previous section. You should still plot the whole temperature range, but fit the polynomial only to the peak of the heat capacity! You should find it easier to get a good fit when restricted to this region
- 10:3810:38, 20 November 2019 diff hist +15 Rep:Y3CMPCG1417 /* TASK: write a script to read the data from a particular file, and plot C vs T, as well as a fitted polynomial. Try changing the degree of the polynomial to improve the fit — in general, it might be difficult to get a good fit! Attach a PNG of an e...
- 10:3710:37, 20 November 2019 diff hist +364 Rep:Y3CMPCG1417 /* TASK: A C++ program has been used to run some much longer simulations than would be possible on the college computers in Python. You can view its source code here if you are interested. Each file contains six columns: T, E, E^2, M, M^2, C (the final fi
- 10:3410:34, 20 November 2019 diff hist +177 Rep:Y3CMPCG1417 /* TASK: A C++ program has been used to run some much longer simulations than would be possible on the college computers in Python. You can view its source code here if you are interested. Each file contains six columns: T, E, E^2, M, M^2, C (the final...
- 10:3210:32, 20 November 2019 diff hist +192 Rep:Y3CMPCG1417 /* TASK: Write a Python script to make a plot showing the heat capacity versus temperature for each of your lattice sizes from the previous section. You may need to do some research to recall the connection between the variance of a variable, \mathrm{V...
- 10:3010:30, 20 November 2019 diff hist +239 Rep:Y3CMPCG1417 →Section 6 - The effect of system size
- 10:2310:23, 20 November 2019 diff hist +1 Rep:Y3CMPCG1417 /* TASK: The script ILfinalframe.py runs for a given number of cycles at a given temperature, then plots a depiction of the final lattice state as well as graphs of the energy and magnetisation as a function of cycle number. This is much quicker than a...
- 10:1910:19, 20 November 2019 diff hist +224 Rep:Y3CMPCG1417 /* TASK: Look at the documentation for the NumPy sum function. You should be able to modify your magnetisation() function so that it uses this to evaluate M. The energy is a little trickier. Familiarise yourself with the NumPy roll and multiply functio...
- 10:1610:16, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: find the temperature at which the maximum in C occurs for each datafile that you were given. Make a text file containing two colums: the lattice side length (2,4,8, etc.), and the temperature at which C is a maximum. This is your estimate of T...
- 10:1510:15, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 →TASK: Modify your script from the previous section. You should still plot the whole temperature range, but fit the polynomial only to the peak of the heat capacity! You should find it easier to get a good fit when restricted to this region
- 10:1510:15, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: write a script to read the data from a particular file, and plot C vs T, as well as a fitted polynomial. Try changing the degree of the polynomial to improve the fit — in general, it might be difficult to get a good fit! Attach a PNG of an e...
- 10:1510:15, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: A C++ program has been used to run some much longer simulations than would be possible on the college computers in Python. You can view its source code here if you are interested. Each file contains six columns: T, E, E^2, M, M^2, C (the final...
- 10:1410:14, 20 November 2019 diff hist +69 Rep:Y3CMPCG1417 /* TASK: Write a Python script to make a plot showing the heat capacity versus temperature for each of your lattice sizes from the previous section. You may need to do some research to recall the connection between the variance of a variable, \mathrm{V...
- 10:1310:13, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 →Section 6 - The effect of system size
- 10:1310:13, 20 November 2019 diff hist +3 Rep:Y3CMPCG1417 →Section 5 - The effect of temperature
- 10:1110:11, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: Use the script ILtimetrial.py to record how long your new version of IsingLattice.py takes to perform 2000 Monte Carlo steps. This will vary, depending on what else the computer happens to be doing, so perform repeats and report the error in y...
- 10:1110:11, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: Use the script ILtimetrial.py to record how long your current version of IsingLattice.py takes to perform 2000 Monte Carlo steps. This will vary, depending on what else the computer happens to be doing, so perform repeats and report the error...
- 10:1010:10, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: If T , do you expect a spontaneous magnetisation (i.e. do you expect \left\langle M\right\rangle \neq 0)? When the state of the simulation appears to stop changing (when you have reached an equilibrium state), use the controls to export the ou...
- 10:0910:09, 20 November 2019 diff hist +348 Rep:Y3CMPCG1417 /* TASK: Implement a single cycle of the above algorithm in the montecarlocycle(T) function. This function should return the energy of your lattice and the magnetisation at the end of the cycle. You may assume that the energy returned by your energy()...
- 10:0510:05, 20 November 2019 diff hist 0 N File:Cg1417MonteCarloStep run.png No edit summary current
- 10:0010:00, 20 November 2019 diff hist +14 Rep:Y3CMPCG1417 →Section 1 - Introduction to the Ising Model
- 09:4409:44, 20 November 2019 diff hist +1,572 Rep:Y3CMPCG1417 /* TASK: find the temperature at which the maximum in C occurs for each datafile that you were given. Make a text file containing two colums: the lattice side length (2,4,8, etc.), and the temperature at which C is a maximum. This is your estimate of T...
- 09:3609:36, 20 November 2019 diff hist +1,238 Rep:Y3CMPCG1417 →TASK: Modify your script from the previous section. You should still plot the whole temperature range, but fit the polynomial only to the peak of the heat capacity! You should find it easier to get a good fit when restricted to this region
- 09:3009:30, 20 November 2019 diff hist +1,142 Rep:Y3CMPCG1417 /* TASK: write a script to read the data from a particular file, and plot C vs T, as well as a fitted polynomial. Try changing the degree of the polynomial to improve the fit — in general, it might be difficult to get a good fit! Attach a PNG of an e...
- 09:2809:28, 20 November 2019 diff hist +983 Rep:Y3CMPCG1417 /* TASK: A C++ program has been used to run some much longer simulations than would be possible on the college computers in Python. You can view its source code here if you are interested. Each file contains six columns: T, E, E^2, M, M^2, C (the final...
- 09:2409:24, 20 November 2019 diff hist +831 Rep:Y3CMPCG1417 /* TASK: Write a Python script to make a plot showing the heat capacity versus temperature for each of your lattice sizes from the previous section. You may need to do some research to recall the connection between the variance of a variable, \mathrm{V...
- 09:2109:21, 20 November 2019 diff hist +42 Rep:Y3CMPCG1417 /* TASK: Repeat the final task of the previous section for the following lattice sizes: 2x2, 4x4, 8x8, 16x16, 32x32. Make sure that you name each datafile that your produce after the corresponding lattice size! Write a Python script to make a plot show...
- 09:1909:19, 20 November 2019 diff hist +1,355 Rep:Y3CMPCG1417 /* TASK: Use ILtemperaturerange.py to plot the average energy and magnetisation for each temperature, with error bars, for an 8\times 8 lattice. Use your intuition and results from the script ILfinalframe.py to estimate how many cycles each simulation...
- 08:5008:50, 20 November 2019 diff hist −45 Rep:Y3CMPCG1417 →References
- 08:5008:50, 20 November 2019 diff hist +136 Rep:Y3CMPCG1417 /* TASK: find the temperature at which the maximum in C occurs for each datafile that you were given. Make a text file containing two colums: the lattice side length (2,4,8, etc.), and the temperature at which C is a maximum. This is your estimate of T...
- 08:3908:39, 20 November 2019 diff hist +622 Rep:Y3CMPCG1417 /* TASK: find the temperature at which the maximum in C occurs for each datafile that you were given. Make a text file containing two colums: the lattice side length (2,4,8, etc.), and the temperature at which C is a maximum. This is your estimate of T...
- 08:2308:23, 20 November 2019 diff hist +10 Rep:Y3CMPCG1417 /* TASK: Use the script ILtimetrial.py to record how long your new version of IsingLattice.py takes to perform 2000 Monte Carlo steps. This will vary, depending on what else the computer happens to be doing, so perform repeats and report the error in y...
- 08:2208:22, 20 November 2019 diff hist +1 Rep:Y3CMPCG1417 →Section 3 - Introduction to Monte Carlo Simulation
- 08:2108:21, 20 November 2019 diff hist +19 Rep:Y3CMPCG1417 →TASK: Calculate the magnetisation of the 1D and 2D lattices in Figure 1. What magnetisation would you expect to observe for an Ising lattice with D = 3,\ N=1000 at absolute zero?
- 08:2108:21, 20 November 2019 diff hist −73 Rep:Y3CMPCG1417 →Section 1 - Introduction to the Ising Model
- 07:5607:56, 20 November 2019 diff hist +4 Rep:Y3CMPCG1417 /* TASK: find the temperature at which the maximum in C occurs for each datafile that you were given. Make a text file containing two colums: the lattice side length (2,4,8, etc.), and the temperature at which C is a maximum. This is your estimate of T...
- 07:5607:56, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 →Section 8 - Locating the Curie Temperature
- 07:5507:55, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: A C++ program has been used to run some much longer simulations than would be possible on the college computers in Python. You can view its source code here if you are interested. Each file contains six columns: T, E, E^2, M, M^2, C (the final...
- 07:5407:54, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: Write a Python script to make a plot showing the heat capacity versus temperature for each of your lattice sizes from the previous section. You may need to do some research to recall the connection between the variance of a variable, \mathrm{V...
- 07:5407:54, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 →Section 6 - The effect of system size
- 07:5407:54, 20 November 2019 diff hist +4 Rep:Y3CMPCG1417 /* TASK: Use ILtemperaturerange.py to plot the average energy and magnetisation for each temperature, with error bars, for an 8\times 8 lattice. Use your intuition and results from the script ILfinalframe.py to estimate how many cycles each simulation...
- 07:5307:53, 20 November 2019 diff hist −3 Rep:Y3CMPCG1417 /* TASK: The script ILfinalframe.py runs for a given number of cycles at a given temperature, then plots a depiction of the final lattice state as well as graphs of the energy and magnetisation as a function of cycle number. This is much quicker than a...
- 07:5207:52, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: Use the script ILtimetrial.py to record how long your new version of IsingLattice.py takes to perform 2000 Monte Carlo steps. This will vary, depending on what else the computer happens to be doing, so perform repeats and report the error in y...
- 07:5207:52, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: Use the script ILtimetrial.py to record how long your current version of IsingLattice.py takes to perform 2000 Monte Carlo steps. This will vary, depending on what else the computer happens to be doing, so perform repeats and report the error...
- 07:5107:51, 20 November 2019 diff hist 0 Rep:Y3CMPCG1417 /* TASK: If T , do you expect a spontaneous magnetisation (i.e. do you expect \left\langle M\right\rangle \neq 0)? When the state of the simulation appears to stop changing (when you have reached an equilibrium state), use the controls to export the ou...
- 07:5107:51, 20 November 2019 diff hist +4 Rep:Y3CMPCG1417 →TASK: Run the ILcheck.py script from the IPython Qt console using the command