Scientific Computing Using Python

PHYS:4905 - Fall 2019

Schedule

Click on the topic description to view the web page or pdf for that lecture. If you find any errors in the lecture or elsewhere on the course website, please report them to the instructor.

Please do each reading before the class were it is assigned.  The readings are from A Student's Guide to Python for Physical Modeling, Updated Edition (2018) by Jesse M. Kinder and Philip Nelson.  The readings starting with LA are The readings starting with LA are from Linear Algebra, by Cherney, Denton, Thomas, and Waldron, available at https://www.math.ucdavis.edu/~linear/.

The assignments are due on the date noted at the beginning of class.


Dates
Topic
Reading
Assignment
8/27
Getting Started with Python
1.1-1.4, D.1-D.4 HW #1 due 8/29
8/29
Data structures in Python
2.1-2.3
HW #2 due 9/3
9/3
Programming: scripts, branching, looping 3.3, 3.4, 3.1, 3.2, 3.5
HW #3 due 9/5
9/5
Importing, exporting, and plotting data
4.1-4.3, A.2.2
HW #4 due 9/10
9/10
Matrices and Gaussian elimination
LA 2.1
HW #5 due 9/12
9/12
Gaussian elimination in Python
6.1
HW #6 due 9/17
9/17
Elementary row operations as matrices, the inverse of a matrix, factorization, and sets of solutions
LA 2.3, 2.5
HW #7 due 9/19
9/19
Vectors and vector spaces
LA 1.2, 4-4.4, 5.1-5.2
HW #8 due 9/26
Test cases
9/24
Linear operators and basis vectors
LA 6.1, 6.3, 6.4, 10.0, 7.1
HW #9 due 10/1
9/26
Matrices, their inverses, and determinants
LA 7.3, 7.5, 8-8.2, 8.4, 10.2
HW #10 due 10/3

10/1
Image processing and display 6.3, 6.4, 8.1, 8.2, 9.1

10/3
Finding your roots
HW #11 due 10/17
10/8
Review for exam #1
Practice exam #1
10/10
Exam #1

10/15
Linear fits
HW #12 due 10/29
10/17
  continued

10/22
  continued

10/24
Non-linear fits
HW #13 due 10/31
10/29
continued

10/31
Eigenvalues and eigenvectors
Practice
LA 12-12.3, 13-13.3 HW #14 due 11/5
11/5
Orthonormal bases, diagonalizing symmetric matrices LA 14-14.3, 15 HW #15 due 11/12
11/7
Machine learning (Jacob click here)
Netflix recommendations

11/12
Coupled oscillators
Practice exam #2
11/14
Review for exam #2

11/19
Exam #2

11/21 Numerical integration 6.7 HW #16 due 12/5
11/25-29 Thanksgiving vacation

12/3
Numerical solution of differential equations 6.8
HW #17 due 12/10
12/5
Graphical user interfaces in Python


12/10
Particle in Cell (PIC) plasma simulations (future Dr. Beving)

12/12
Object oriented programming in Python