home - teaching


Computational Physics - PHYS 410/510 - Spring 2023


Class meetings:
Tuesdays & Thursdays, 9:30-10:45 in La Tourette Hall 227, starting 2023-01-17

Instructor: Professor A. Glatz
Office: La Tourette Hall 217

Office hours: Virtual by appointment (just send an email) - preferred.
Tue/Thu 12:15-13:15 in office.

Grading: Weighted according to 35% homework, 15% lecture attendence, and (20% midterm + 30% final) exam/project.

Homework policies: Late penalty: 10% off for each day late up to 5 days; 100% off for > 5 days. I prefer homework papers to be turned in at the beginning of class on Tuesday, but they are considered on time if turned in by 17:00 on the due date. You can turn them in to my mailbox in the Physics main office if I am not around. Homework should be written neatly (or typed), single-sided on paper, and stapled. Codes, data, and figures can be send by email. You are encouraged to consult with each other on the homework. However, each of you must turn in only your own work. Do not turn in anything that you have copied, or anything that you do not truly understand.

Exam policies: Exams will be closed book, but you may bring one page of notes in your own original handwriting. No electronic devices are allowed.

Midterm : Mach 20-22, 2023
Final project presentations: May 02, 2023, 9:30am

Suggestions: It is strongly suggested that you do attend class and take notes. If you have problems with your homework or to understand some concepts, please do come to my office for help. The best way to prepare for exams is to study homework problems and the lecture notes.

See the also the syllabus for a list of topics to be covered in the course.



Lectures

date
OverviewPDF2023-01-17
Lecture 2
Floating point number, sources of errors, stability, pendulum demo
PDF
+ Jupyter notebook for pendulum
+ pendulum demo (pdf)
2023-01-19
Lecture 3
Numerical Differentiation
PDF
+ C++/gnuplot demo codes (zipped)
2023-01-24
Lecture 4
Numerical integration
PDF
+ Jupyter notebook for adaptive Simpson rule
+ adaptive simpson (pdf)
2023-01-26
Lecture 5
Kepler Problem
PDF
+ Notes on Kepler problem (pdf)
+ Kepler (Lagrange) C/C++ code (needs lecture 3 utility codes)
2023-01-31
2023-02-02
Lecture 6
ODEs
PDF2023-02-07
2023-02-09
Lecture 7
Double Pendulum
PDF
+ Jupyter notebook for double pendulum (incl animation)
+ double pendulum (pdf)
+ double pendulum C/C++ code
2023-02-14
2023-02-16
Lecture 8
Molecular Dynamics
PDF
+ molecular dynamics code
2023-02-21
2023-02-23
Lecture 9
Stationary Heat Equation/Linear Systems
PDF2023-02-28
2023-03-02
Lecture 10
Partial Differential Equations
PDF2023-03-21
2023-03-23
Lecture 11
Random Numbers and Monte-Carlo methods
PDF2023-03-28
Lecture 12
Ising model
PDF2023-03-30



Homework

due before class on
Assignment 1PDF2023-02-02
Assignment 2PDF2023-02-14
Assignment 3PDF2023-02-28
Assignment 4PDF2023-03-23
Assignment 5PDF2023-04-04
Assignment 6PDF2023-04-27



Literature



Online resources (external)