Introduction

Physics 581: Winter 2015
Dr. Rachid Ouyed
http://quarknova.ucalgary.ca
e-mail: rouyed@ucalgary.ca
phone: 403-210-8418
room SB 515
office hours: Tuesdays&Thursdays --> 10:00am-11:00am
Main webpage for lecture notes:
Phys 581/ r. ouyed
http://www.pjl.ucalgary.ca/courses/physics581.html
Important note: these lecture notes will be available
on-line. They do not contain everything that has been or
will be presented during the
lectures.
It is important that
r. ouyed/
phys481
you also make your own notes during the lectures.
1
General information: weekly dates
Schedule: Lectures&Labs are on
Tuesdays & Thursdays
11:00-13:30 in ST 026
Phys 581/ r. ouyed
Start of lectures/labs: Tuesday, Jan. 13
End of lectures:
Thursday, Apr. 14
Labs: start Thursday, Jan. 15
See course outline
r. ouyed/ phys481
2
Phys581: Important Dates
Midterm: Presentations
 Last Week of Class: Final: Take Home Exam


Phys 581/ r. ouyed

Reading days/week : Feb. 15-22
Attendance at the exams (if in class) is absolutely
mandatory.
Always check the course URL
http://www.pjl.ucalgary.ca/courses/physics581.html
r. ouyed/ phys481
3
Phys 581: Textbook
Textbook:
Ouyed&Dobler (2010),
Computational Physics (1st Ed.)
For Physics 581:
Phys 581/ r. ouyed
Chapter 9: Random Numbers and Monte Carlo Methods
Chapter 10: Optimization
Chapter 11: Fourier Analysis
Chapter 12: Partial Differential Equations and Fluid Dynamics
Can be donwloaded @
http://www.pjl.ucalgary.ca/courses/physics581.html
r. ouyed/ phys481
4
Phys 581: Content
Monte-Carlo methods and statistical techniques :
.Random numbers, probability distributions.
.Markov-chain Monte Carlo methods, Metropolis-Hastings algorithm.
.Examples: Ising model, random walks.
.Bayesian inference, Hypothesis testing.
1/3
Fourier methods and signal processing :
.Fast Fourier transform, sampling theorem, windowing.
.Correlation, autocorrelation, power spectrum estimation.
.Time-frequency methods: Detection of signals of known shape in noisy data.
.Matched filtering: Detection of signals of known shape in noisy data.
1/3
Ordinary differential equations (ODEs; continued from phys481) :
Phys 581/ r. ouyed
.Finite differencing, convergence, error estimates, Richardson extrapolation.
.Stochastic and chaotic ODEs: Langevin equation, Lorenz equations.
Partial differential equations (PDEs) :
.Stability analysis, well-posedness
.Hyperbolic PDEs: Wave equation
.Elliptic PDEs: Poisson’s equation.
.Parabolic PDEs: Heat equation.
r. ouyed/ phys481
1/3
5
Phys 581: Marking & Exams
~11-12 weeks course:
Phys 581/ r. ouyed
The total marks are calculated as follows:
Assignments/Labs (~2/3)
Presentations (30 minutes)
Final Exam (Take Home)
r. ouyed/ phys481
(30%/30%)
60%
10%
30%
6
Phys 581: Labs&Assignments
Assigns. (30%) & Labs (30%)
Your report in PDF format should summarize your findings, and should include a
copy of your code (use the Latex command [\begin{verbatim}..\end{verbatim}])
and its output. You should also review your results in a discussion section.
Phys 581/ r. ouyed
Lab 1 (due Feb. 12)
Lab 2 (due Mar. 12)
Lab 3 (due Apr. 12)
Assgn 1 (due Feb. 15)
Assgn 2 (due Mar. 15)
: Chapter 9&10 (MC Methods)
: Chapter 11 (Fourier Analysis)
: Chapter 12 (PDEs/Fluids)
: Chapter 9&10 (MC Methods)
: Chapter 11 (Fourier Analysis)
Midterm (presentations): Continuous (30 minutes presentations !)
*Delays: a 10% penalty per day
r. ouyed/ phys481
7
Phys 581: Tools
EMACS
ADDITIONAL TOOL:
MATHEMATICA (?)
Phys 581/ r. ouyed
GNUPLOT (& Scripts)
Myfile.gp
FORTRAN 90
(& Makefiles)
Myfile.f90
LATEX (& AucTex)
Myfile.tex
r. ouyed/ phys481
8
Phys 581 (F95 routines)
Fortran 95 Numerical Recipes
Phys 581/ r. ouyed
http://apps.nrbook.com/fortran/index.html
r. ouyed/ phys481
9
Phys 581 (F95 routines)
Phys 581/ r. ouyed
Sections
r. ouyed/ phys481
10
Phys 581: by the end of the course
Phys 581/ r. ouyed
What can you do with
Phys 581?
r. ouyed/ phys481
11
Phys 581
Phys 581/ r. ouyed
Phys 381&481: a reminder
r. ouyed/ phys481
12
Phys 581
Phys 581: Applications
Phys 581/ r. ouyed
Stay tuned !
r. ouyed/ phys481
13