Cornell University

Department of Physics

Phys 480/680, Astro 690 April 5, 2007

Computational Physics, Spring 2007

Homework Assignment # 7
(Due Wednesday, April 11 at 5:00pm)


Agenda and readings for the weeks of April 6-23:


Goal: Learn to use the octave linear algebraic language to express scientific algorithms succinctly; solution of Poisson's equation in a single line of code

  phi=cI(Linv(-4*pi*O(cJ(n))));


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.muchomas.lassp.cornell.edu/P480.


Recap:


Preview:



Tomas Arias 2007-04-05


Postscript Version

PDF Version