Module Overview

Introduction to Scientific Python

This module introduces the learner to programming for mathematical sciences through Python. The learner will acquire the skills necessary to write basic programs to investigate problems in mathematics. These skills will form the foundation for further computational modelling using Python.

Module Code

MATH 1810

ECTS Credits


*Curricular information is subject to change

  • Variables.

  • Comments.

  • Printing output.

  • Mathematical expressions; modules; the math module and its functions. Motion under gravity; normal distribution.

  • Lists; while and for loops. Arithmetic and geometric series; factorial.

  • Boolean expressions and if statements. Piecewise functions.

  • Scope and ternary operators.

  • Input; exceptions.

  • NumPy module; arrays; function vectorization. Inverting matrices; solving linear systems.

  • Plotting; the Matplotlib library.

  • Classes, methods. Attributes. Protection of attributes. Motion under gravity revisited.

The module will be delivered through a combination of lectures and tutorials. Learning will be supported through provided sample programs and laboratory sessions.

Module Content & Assessment
Assessment Breakdown %
Other Assessment(s)100