next up previous contents
Next: Contents

Cornell University

Department of Physics

Phys 480/680, Astro 690 February 10, 2001

Computational Physics, Spring 2001

Homework Assignment # 2

(Due Thursday, February 9 at 8:40 am in Computer Lab.)


Agenda and readings for the week of February 5:

Readings marked NR are from Numerical Recipes: The Art of Scientific Computing, 2 tex2html_wrap_inline289 edition (in C). Readings marked LN are from the course lecture notes to be found at http://www.muchomas.lassp.cornell.edu/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
Sat Feb 10 11:41:16 EST 2001


Postscript Version

PDF Version