Cornell University

Department of Physics

Phys 480/680, Astro 690 February 2, 2007

Computational Physics, Spring 2007

Homework Assignment # 2
(Due Wed, February 14 at 5:00pm)


Agenda and readings for the weeks of January 6 and 13:

Readings marked NR are from Numerical Recipes: The Art of Scientific Computing, 2$^{\mathrm nd}$ edition (in C). Readings marked LN are from the course lecture notes to be found at http://www.ccmr.cornell.edu/~muchomas/P480.



Note: For the programs in this problem set we face a small notational difficulty. We have been using the variable $n(r)$ to represent the number of electrons per unit volume throughout space. It would make sense then to define an array $n[]$ to hold the values of the electron density. However, $n$ is so commonly used as an indexing variable (particularly in Numerical Recipes) that this is likely to cause difficulties. Thus, we shall use the array $rho[]$ to represent the electron density $n(r)$.



Tomas Arias 2007-02-02


Postscript Version

PDF Version