Welcome to the Physics 6810 Computational Physics home page!
URL: http://www.physics.ohio-state.edu/~ntg/6810/compphys.php
The course information is available here plus lots of supplementary
info. Please check this page regularly.
The following table will be filled in with materials and references as we proceed. The current links --- shown in light green --- have "before" links that should be read before class, "in-class" materials that we will use in our two-hour meeting, and "extra" references that you can use to follow up.
Return to Contents
A complete copy of M. Hjorth-Jensen's 2015 notes on "Computational Physics" is available as a PDF file.
Return to Contents
Click on the problem set number to get a copy of the assignment. Note that there is a "target date" rather than a "due date". You need to make progress by then, but I anticipate it will take some of you longer to fully complete the assignment (after getting feedback).
Target Date | Assignment | Comments |
---|---|---|
01/29/16 | #1a [pdf] | hints, suggestions, etc. |
02/05/16 | #1b [pdf] | hints, suggestions, etc. |
02/19/16 | 2 [pdf] | hints, suggestions, etc. |
03/11/16 | #3 [pdf] | hints, suggestions, etc. |
04/11/16 | #4 [pdf] | Progress report on your project. |
Return to Contents
Last Updated | Handout | Comments |
---|---|---|
12-Jan-2016 | C++ Options (pdf) | "Recommended C++ Options" -- options for g++ (GNU compiler) and icpc (Intel compiler) based on the recommendations in the GSL Reference manual. |
27-Dec-2010 | GSL Introduction (pdf) | GNU Scientific Library description from the online reference manual. |
11-Jan-2016 | Unix Commands (pdf) | "Some Useful Unix Commands" based on various web summaries |
06-Jan-2014 | Gnuplot 4.6 manual (pdf) | "Gnuplot 4.6: An Interactive Plotting Program" |
01-Jan-2014 | Gnuplot basics (pdf) | "Plotting Data from a File with Gnuplot" |
28-Mar-2008 | Gnuplot fitting (pdf) | "Finding the Slope of XY Data from a File with Gnuplot" |
12-Jan-2010 | Gnuplot plot files (pdf) | "Using a Plot File with Gnuplot" |
12-Jan-2012 | Using X-Win32 (pdf) | Instructions for using X-Win32 on the Physics Department computers. |
01-Jan-2004 | C++ Manipulators (pdf) | "Formatting with Manipulators" -- brief guide found on the web. |
01-Apr-2008 | Tricky Integrals (pdf) | "Integrals with Singularities or Discontinuous Derivatives" |
09-Jan-2011 | Round-off Errors (pdf) | A simple empirical investigation of the distribution of round-off errors. |
07-Mar-2008 | GDB Debugger (pdf) | "Using the GDB Debugger" -- A tutorial by example. |
10-Mar-2011 | Gnuplot 3d plots (pdf) | "Three-Dimensional Plots with Gnuplot" |
Return to Contents
The Mathematica example notebooks used in the graduate Math Methods course are available. Take a look!
If the notebook doesn't open automatically in Mathematica when you click on the link, "right click" to save it first (to the Desktop or a session folder) and start it from within Mathematica.
Last Revised | Notebook | Comments |
---|---|---|
23-Sep-2011 | Calculate area | A simple Mathematica notebook defining a function to calculate the area of a circle, including forcing numerical output and multiple definitions of a function with different numbers of arguments. Also, making it into a program. |
23-Sep-2011 | Defining n! | Mathematica notebook with many ways to define n!. |
23-Sep-2011 | Rolling dice | Mathematica notebook that simulates the rolling of dice, where the outcome is a random integer from 1 to 6. Histograms are generated for different numbers of "trials" (i.e., throws of the dice), providing visualization of how the fluctuations scale with the number of trials. |
25-Sep-2011 | 3D Square Well | Mathematica notebook to find the eigenvalues of a spherical three-dimensional square well by matching solutions. |
12-Feb-2009 | Nonlinear Differential Equations | Mathematica notebook analyzing the Duffing equation. |
12-Feb-2009 | 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