Physics 410/609---Computational Physics Assignment #1---Due Tuesday, September 28, 2004 1) Complete parts b-f of Problem 2.1 on page 23 of CSM. You may use your choice of FORTRAN, Pascal, C or C++ for coding this problem. Please hand in your code. I have prepared data files corresponding to Table 2.2, that you are welcome to copy. They are in my home directory: -rw-r--r-- 1 sg user 187 Sep 14 17:25 coffee_black.dat -rw-r--r-- 1 sg user 187 Sep 14 17:25 coffee_cream.dat For part c: you may use axis or another plotting program to make any required graphs. There is no need to make the plots by hand. If you cannot get hardcopy output of your graphs, prepare axis files with all the commands. I will explain how to send me the axis files in class. For part (b) you must think carefully about the criterion you will use for the best value of r. 2) Complete Problem 2.2 on pages 23-24 of CSM. Be sure to indicate what value(s) of r you are using. 3) Complete parts a, b, d and e of Problem 2.3 on page 25 of CSM. [Please do not confuse this with Exercise 2.3 on the previous page.] Part c would be more interesting if applied not to the temperature itself, but to the difference between the temperature and the initial temperature.