Short Description

URL
http://www.maths.lth.se/na/courses/NUMA21
Credits:
7,5 points
Instructors:
Claus Führer, Dara Maghdid and Tony Stillfjord
Teaching Assistant22s
Najmeh Abiri and Teo Nilsson
Grading:
U, G
Examination:
Fortnightly hand-in assignments and graded final programming project.
Prerequisites:
Elementary courses in mathematics

Contents

The course has two goals: Firstly, a modern scripting language, Python, with strong ties to Scientific Computing and with powerful scientific libraries e.g. Scipy and Matplotlib is taught. Secondly the course serves as a pratical preparation for all other courses in Scientific Computing (beräkningsmatematik). The course covers :
Elementary programing concepts: Arithmetic expressions, for-loops, logical expressions, if statements, functions and classes. These concepts are taught exclusively using mathematical/technical problems and examples.
Mathematical Manipulations: Setting up matrices, solving linear problems, solving differential equations, finding roots, eigenvalues, resonances, without going into the mathematical details.
More advanced concepts such as generators are presented and a basic introduction to the ideas of object oriented programming will be given.
A final lecture will cover syntactical differences between Python/SciPy and MATLAB, to fascilitate the transition to MATLAB, if needed.

Course book

The main book of this course is the book Führer, Solem, Verdier: Computation with Python, Pearson 2013. A preprint of this book can be bought at the department.
Furthermore we recommend the last edition of Mark Lutz’s book Learning Python
You will also find additional material on our Python home page.

Goal

The goal of the course is to give students in an early stage of their education in mathematics and science competence to use state-of-the-art tools for scientific computations. The course is not a replacement for other courses in computer science.