Introduction to Computational Physics
PHYSICS 20
Subject & Catalog Number
Course Information
Description
This course is a systematic introduction to computing with python and jupyter notebooks designed for concentrators in physics and related fields. The course consists of two parts: 1. Basics: essential elements of computing, including types of variables, lists, arrays, iteration and control flow (for, while loops, if statement), definition of functions, recursion, file handling and simple plots, plotting and visualization tools in higher dimensions. 2. Applications: development of computational skills for problem solving, including numerical and machine learning methods, and their use in deterministic and stochastic approaches; examples include numerical differentiation and integration, fitting of curves and error analysis, solution of simple differential equations, random numbers and stochastic sampling, and advanced methods like neural networks and simulated annealing for optimization in complex systems. Course work consists of attending lectures and labs, weekly homework assignments, a mid-term project and a final project; while work is developed collaboratively, coding assignments are submitted individually.
Available for Harvard Cross Registration