Introduction to Programming module (PH21002)
On this page
In this module, you will learn the basics of programming in Python and MATLAB geared towards tools and techniques used in physics and mathematics. During IT workshops, you will be guided through the steps required to write and test computer programs of moderate complexity. After an introduction to the basic building blocks of computer programs, you will learn how to write programs that solve integrals and ordinary differential equations, and to make plots of functions and data.
You will learn how to write:
Input/output in Python and MATLAB
Python and MATLAB loops and conditional statements
Functions in Python and MATLAB
Basics of numerical computation with NumPy/SciPy and MATLAB
Plotting with matplotlib and MATLAB.