This module introduces the learner to programming and basic numerical methods through a high-level programming language. It introduces a range of basic numerical methods that are the foundation for computational physics.
Programming and Numerical Methods
• Review of components of a High Level programming language, e.g., Python
• Declaration of variables, assigning variables
• Creation, compilation and debugging of programs
• Control, e.g., Conditions and Loops
• Functions
• Arrays
• Physical problems and numerical analysis
• Function implementation, sort systems, statistical analysis of data
• Introduce flow control with Boolean conditions
• Create a multiple variable Structure
• Basics of modular programming – construction of independent functions
• Controlling the data flow between modules
• Building sub-programs/modules for carrying out numerical methods
• Constructing and manipulating data using appropriate control methods
Lectures and programming exercises.
Module Content & Assessment | |
---|---|
Assessment Breakdown | % |
Other Assessment(s) | 100 |