This course is designed especially to formulate and solve mathematical and mechanical problems with python programming. Furthermore, this course will also be the basis of solving various engineering problems through python.
URA302 PYTHON PROGRAMMING
Syllabus
Python part 1: Basic data types: numbers, booleans, strings; Containers: list, slicing, loops, dictionaries, sets, tuples; Functions, Classes;
NumPy: Arrays, Array indexing, Data Types, Array math, Broadcasting;
SciPy: integration, interpolation, linear algebra, eigenvalues, spatial data structures;
Matplotlib: Plotting, Subplots, Images
Pandas: Data Manipulation, Data Cleaning and modification
Python part ll: 2D geometry: point, vector, lines and segments, polygons, affine transformations, Graphics and simulations: vector images, GUI and canvas, geometric primitives, simulations and time loops, affine transformations
Python part III: Systems of equations: matrices and vectors, linear equations, Cholesky decomposition; Robot application: navigation and manipulation of a mobile robot using open source Python libraries
Lecture
L1 --> PDF
L2 --> Google Colab File (Use Thapar Email ID only) --> Link
L3 --> Basics of Python, Loops, Functions, Random Numners-String --> Google Colab File (Use Thapar Email ID only) --> Link
L4 --> Data Structures - List, Dictionary, Tuple, Sets --> LINK1 --> Google Colab File (Use Thapar Email ID only) --> LINK
WorkSheets
Work Sheet 1 : Basic data types: numbers, booleans, strings; (PDF)
Work Sheet 2 : Containers: list, slicing, loops, dictionaries, sets, tuples (PDF)
Work Sheet 3 : Functions, Classes; (PDF) (This Week 25/8 to 29/8)
Work Sheet 4: NumPy Basics (PDF)
Work Sheet 5: (NumPy, SciPy and Matplotlib) -(PDF)
Submit your GitHub link for the worksheets on URA302: PYTHON PROGRAMMING (Fill the Google Form Below, Sept, 2025)
Google Form Link: https://forms.gle/1CNPiDH1Se6HNL4z6
Work Sheet 4 : Numpy (PDF) --> Visit LMS Thapar