Programming and Numerical Methods for Scientists
Instructor contact information:
Office:
032B Cardwell
Postal:
Physics Dept., 116 Cardwell Hall, Manhattan, KS 66506
Phone:
785-532-6476
E-mail:
gahs@phys.ksu.edu
Course Information
Syllabus
Outline (initial plan)
Resources
EVO
connection info
for our students stationed out of town.
copyright
Miscellany
Precompiled binaries:
SIMH altairz80 precompiled exectuable program for Mac
External links:
NASA-2000-tm210289
from www.cs.odu.edu/~mln.
Example source code:
bounce2.cc as written in class
bounce2.cc working well on linux
a 1-d, 10 ball "bounce" program, works on any system
Bouncing ball program using ROOT graphics
euler1.cc
: Straightforward Euler integration test program
Minimization example using ROOT
Fitting voltmeter example written in class 9
log-L fit to probability distribution from Class 0x0B exercise:
as written in class
slightly modified version that works
output from fit-logL-1c
Code used for making histograms for class 0x0C example 1 (also useful as example of MC simulation for class 0x0A):
classCh_example1.cc
,
classCh_graph_cdfhist.cc
.
Example code for class 0x0C significance test (for example1's data and model):
signif-LogL-1c.cc
.
output
histogram of output
Data sets:
datasets for Class 0x0B exercise and assignment:
dataset 1
and
dataset 2
.
Course Notes
Class 1:
slides
Class 1.5:
slides
Class 2:
notes
Class 2.5:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
Class 3:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
Class 4:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
See also the bounce2 source code in "Miscellany" above
Class 5:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
Class 6:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
See also the euler1 source code in "Miscellany" above
Class 7:
PDF
-- notes only, partly LaTeX but mostly handwritten. (Note: it takes me about 6 times longer to typeset the notes than it does to handwrite them.)
Class 8:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
See also the
minimization-in-root-3d
source code in "Miscellany" above
Class 9:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
See also the
minimization-voltmeter
source code in "Miscellany" above
Class 0x0A:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
Class 0x0B:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
See also the datasets for Class B exercise and assignment:
dataset 1
and
dataset 2
.
Class 0x0C:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
Class 0x0D:
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
Class 0x0D.8 (13.5):
HTML slides (S5)
,
plain HTML
, or
pdf from pdflatex
.
Note: there is no difference in the content of the "HTML slides (S5)", "plain HTML", and "pdf from pdflatex" files. Only the formatting differs.