Python


This course will bring you some basics in Python and will try to give an overview of the mathematical situations where Python programming can be very useful. This page was dedicated to ECG2 students at Stanislas College (2022/23) for the Python Programming course .


Practicals


Sessions Content Material Correction
Practical 1 Data structures Download or Online Correction
Practical 2 Numpy & plots Download or Online Correction
Practical 3 Integration Download or Online Correction
Practical 4 Zeros of functions Download or Online Correction
Practical 5 Linear algebra I Download or Online Correction
Practical 6A Linear algebra II Download or Online Correction
Practical 6B Linear algebra II Download or Online Correction
Practical 7 Discrete random variables Download or Online Correction
Practical 8 Inversion method I Download or Online Correction
Practical 9 Inversion method II & continuous random variables Download or Online Correction
Practical 10 Univariate statistics Download or Online Correction
Practical 11 Bivariate statistics & regression Download or Online Correction
Practical 12 Monte Carlo method Download or Online Correction
Practical 13 Multivariate functions Download or Online Correction

Supplementary


Here is a cheat sheet of Python commands and some Python oral exercises.