Welcome to the Physics 780.20 Computational Physics home page!
URL: http://www.physics.ohio-state.edu/~ntg/780/compphys.php
The course information is available here plus lots of supplementary
info. Please check this page regularly.
Copies of any handouts are available from Prof. Furnstahl or online below. After the first class, please read the session notes before that session meets.
| Date of Session | Guide | Notes | Packed Files | Handouts |
|---|---|---|---|---|
| 01/03/07 | Session 1 | notes [pdf] | session01.zip | C++ options [pdf] [ps]; GSL intro [ps]; Hjorth-Jensen contents [pdf] [ps]; Session 1 code printouts [pdf] [ps] |
| 01/08/07 | Session 2 | notes [pdf] | session02.zip | Gnuplot basics [pdf] [ps]; Gnuplot tutorial; |
| 01/10/07 | Session 3 | notes [pdf] | session03.zip | Fitting with Gnuplot [pdf] [ps]; Formatting with C++ Manipulators (UIC notes) [pdf]; integ_test.cpp and integ_routines.cpp [pdf] [ps] printouts; derivative_test_simple.cpp [pdf] [ps] printout; |
| 01/17/07 | Session 4 | notes [pdf] | session04.zip | Gnuplot plot files [pdf] [ps]; Integrals with Singularities [pdf] [ps]; |
| 01/23/07 | Session 5 | notes [pdf] | session05.zip | Random round-off? [pdf] [ps]; nan_test.cpp [ps], eigen_tridiagonal.cpp [ps], eigen_basis.cpp [ps], and harmonic_oscillator.cpp [ps] printouts |
| 01/29/07 | Session 6 | notes [pdf] | session06.zip | diffeq_routines.cpp [ps], and diffeq_test.cpp [ps] printouts |
| 01/31/07 | Session 7 | notes [pdf] | session07.zip | diffeq_oscillations.cpp [ps] |
| 02/07/07 | Session 8 | notes [pdf] |
session08.zip session08_linux.zip |
Plots of damped oscillations [pdf] [ps]; filename_test.cpp printout [ps]; GnuplotPipe class printout [ps]; diffeq_pendulum.cpp printout [ps]; nonlinear Mathematica notebook; |
| 02/12/07 | Session 9 | notes [pdf] | session09.zip | GSL interpolation [pdf] [ps]; |
| 02/14/07 | Session 10 | notes [pdf] | session10.zip | Pendulum Power Spectra [pdf] [ps]; multifit_test.cpp printout [ps]; multimin_test.cpp printout [ps]; |
| 02/19/07 | Session 11 | notes [pdf] | session11.zip session11_linux.zip | man pages for random, urandom [ps]; gaussian_random.cpp printout [ps]; random_walk.cpp printout [ps]; RandomWalk_test.cpp printout [ps]; |
| 02/21/07 | Session 12 | notes [pdf] | session12.zip | sampling_test.cpp printout [ps]; ising_model.cpp printout [ps]; ising_opt.cpp printout [ps]; |
| 02/26/07 | Session 13 | notes [pdf] | session13.zip | autocorrelation_test.cpp printout [ps]; variational_SHO.cpp printout [ps]; |
| 03/05/07 | Session 14 | notes [pdf] | session14.zip | multimin_nacl.cpp printout [ps]; multimin_sa_compare.cpp printout [ps]; multimin_sim.cpp printout [ps]; |
| 03/07/07 | Session 15 | notes [pdf] | session15.zip | gnuplot 3d plots [pdf] [ps], 3d_shape.dat; eqheat.cpp printout [ps]; square_test.cpp printout [ps]; |
Return to Contents
A complete copy of M. Hjorth-Jensen's 2006 notes on "Computational Physics" is available as a PDF file.
| Class Period | Reading | Topic |
|---|---|---|
| 01/03/07 | M. Hjorth-Jensen, Table of Contents (pdf) (ps.gz) | Table of Contents |
| 01/03/07 | M. Hjorth-Jensen, Ch. 1 (pdf) (ps.gz) | Overview and contents |
| 01/08/07 | M. Hjorth-Jensen, Ch. 2 (pdf) (ps.gz) | Introduction. Especially 2.2 and 2.3. |
| 01/10/07 | M. Hjorth-Jensen, Ch. 3 (pdf) (ps.gz) | Numerical Differentiation. |
| 01/17/07 | M. Hjorth-Jensen, Ch. 7 (pdf) (ps.gz) | Numerical Integration. |
| 01/22/07 | M. Hjorth-Jensen, Ch. 4 (pdf) and Ch. 12 (pdf) | Linear Algebra and Eigensystems. |
| 01/24/07 | M. Hjorth-Jensen, Ch. 13 (pdf) (ps.gz) | Differential Equations. |
| 02/07/07 | M. Hjorth-Jensen, Ch. 6 (pdf) (ps.gz) | Numerical Interpolation, Extrapolation and Fitting of Data. |
| 02/14/07 | M. Hjorth-Jensen, Ch. 8 (pdf) (ps.gz) | Outline of the Monte-Carlo Strategy |
| 02/14/07 | M. Hjorth-Jensen, Ch. 9 (pdf) (ps.gz) | Random walks and the Metropolis Algorithm |
| 02/19/07 | M. Hjorth-Jensen, Ch. 10 (pdf) (ps.gz) | Monte Carlo Methods in Statistical Physics |
| 02/19/07 | M. Hjorth-Jensen, Ch. 11 (pdf) (gs.gz) | Quantum Monte-Carlo Methods |
Return to Contents
Click on the problem set number to get a copy of the assignment.
| Due Date | Assignment | Comments |
|---|---|---|
| 01/30/07 | #1 [pdf] | hints, suggestions, etc. |
| 01/27/06 | #2 [pdf] | hints, suggestions, etc. |
| 03/02/07 | #3 [pdf] | hints, suggestions, etc. |
| 02/28/07 | #4 [pdf] | hints, suggestions, etc. |
Return to Contents
You (mostly) have your choice of postscript (ps) or PDF format. If you're not sure, try PDF (and read it with Adobe Acrobat).
| Last Updated | Handout | Comments |
|---|---|---|
| 16-Nov-2003 | Bash Prompt HOWTO (pdf) | Creating and controlling terminal and xterm Bash prompts, compiled by Giles Orr. |
| 01-Jan-2004 | C++ Manipulators (pdf) | "Formatting with Manipulators" -- brief guide found on the web. |
| 01-Jan-2004 | C++ Options (ps) (pdf) | "Recommended C++ Options" -- options for g++ (GNU compiler) and icpc (Intel compiler) based on the recommendations in the GSL Reference manual. |
| 06-Mar-2005 | GDB Debugger (ps) (pdf) | "Using the GDB Debugger" -- A tutorial by example. |
| 18-Jan-2004 | Gnuplot basics (ps) (pdf) | "Plotting Data from a File with Gnuplot" |
| 16-Mar-2006 | Gnuplot manual (pdf) | "Gnuplot -- An Interactive Plotting Program" |
| 09-Jan-2005 | Gnuplot fitting (ps) (pdf) | "Finding the Slope of XY Data from a File with Gnuplot" |
| 15-Jan-2007 | Gnuplot plot files (ps) (pdf) | "Using a Plot File with Gnuplot" |
| 28-Mar-2004 | Gnuplot 3d plots (ps) (pdf) | "Three-Dimensional Plots with Gnuplot" |
| 01-Jan-2005 | GSL Introduction (ps) | GNU Scientific Library description from the online reference manual. |
| 13-Feb-2005 | GSL Interpolation (ps) (pdf) | "Using GSL Interpolation Functions" |
| 12-Nov-2002 | Input in C (ps) (pdf) | "Interactive Input in C" |
| 16-Jan-2005 | Round-off Errors (ps) (pdf) | A simple empirical investigation of the distribution of round-off errors. |
| 09-Jan-2005 | Tricky Integrals (ps) (pdf) | "Integrals with Singularities or Discontinuous Derivatives" |
| 01-Jan-2005 | Unix Commands (ps) | "Some Useful Unix Commands" based on various web summaries |
| 19-Feb-2006 | Xwin-32 Configuration (pdf) (Word) | Configuring and using the Xwin-32 X-windows emulator. |
Return to Contents
Return to Contents
Coming soon!
Return to Contents
If you use Internet Explorer on a Windows machine, selecting a Mathematica notebook link should automatically open Mathematica with that notebook. On Macs or linux machines or using other browsers, you can set this behavior.
| Last Revised | Notebook | Comments |
|---|---|---|
| 02/25/04 | Nonlinear Differential Equations | Mathematica notebook analyzing the Duffing equation. |
| 02/25/04 | Nonlinear Differential Equations: Pendulum | Mathematica notebook analyzing the physical pendulum. |
| 04/18/02 | Fourier Transform Pictures | Mathematica notebook showing in pictures how to project Fourier coefficients. |
| 04/18/02 | Square Wave | Mathematica notebook showing a square wave being built from sine waves. |
Return to Contents
Return to Contents
| Last Revised | Script/Program | Comments |
|---|---|---|
| 12/28/05 | 780archive.pl | Perl script to create a compressed tape archive (tar.gz or tarz) file. Make sure it is declared executable (chmod +x 780archive.pl). |
Return to Contents