PHY 411/506 Spring 1999

Homework Assignment 7

[ Welcome | Syllabus | References | Lectures | Assignments ]


Assignment 7: Due Friday April 9

In this assignment we continue our study of the 2-D Ising model by Monte Carlo simulation using Program ising translated in Ising.java. (If you like, write your own program like you did with assignment 6).

For this assignment, work and submit the following:

Note: if you find the Java program too slow you can try the C++ program Ising.cpp which is available in /project/phygons/ComPhys/ on UBUnix. This program uses Vector.h and Utilities.h. To compile and run this program, copy these three files to your working directory and type
    > CC Ising.cpp
    > a.out
at the Unix prompt. It is interesting to compare the efficiencies of C++ and Java for this type of calculation!


UB Physics Home

Maintained by: Dr. R.J. Gonsalves
Last updated: