Introduction to Python for Physicists and Engineers

5 credits

Course, Master's level, 1FA661

Summer 2023 Summer 2023, Flexible, 50%, Distance learning, English

About the course

The course will give an introduction to programming in Python and programming-related problem solving.

Introduction to Python: Installation, NumPy, SciPy, Matplotlib, Spyder.

Components of Python: Variables (integers, floats, strings, Booleans, complex).Containers (lists, dictionaries, arrays). Operators. Input/output (open, read, write, append, print). Programming structure (indentation, if, while, for, else, try). Functions. Programming. Numeric integration. Solutions of non-linear equations. Approximation of data. Least squares approximation. Graphic presentation. Problem-solving: division into smaller subproblems, implementation in Python.

Applications will be taken from physics, for example, classical mechanics, electrodynamics, thermodynamics and related subject areas in engineering.

Outline for distance course: Communication between teachers and students is done using the learning management system and e-meeting tools. A computer with a stable internet connection and webcam is required.

FOLLOW UPPSALA UNIVERSITY ON

facebook
instagram
twitter
youtube
linkedin