This Github repository holds the Python-related exercises, quizzes, and assignments for the CE 170A course, "Infrastructure Sensing and Modeling", at UC Berkeley for the Fall semester of 2021. It is mainly used in the first two modules of the course, where the students will review their knowledge of Python and use it to complete their assignments.
-
python-exercises: six self-paced, beginner python exercise that covers a variety of topics. Video tutorials can be found at this youtube playlist
- Day0: Introduction of programming and Python
- Day1: Introduction of python expressions and basic operations
- Day2: Example of using Python to solve a simple physics problem
- Day3: Variables, variable types, and pitfalls of floating-point arithmetic
- Day4: Taylor series, Newton-Ralphson method with Python
- Day5: Data Handling using Pandas
- Day6: Introduction of the Numpy library; linear algebra with Numpy
-
- Quiz 2: model bridge data analysis
- Quiz 4: all-or-nothing traffic assignment
-
- Homework 2: model bridge data analysis
- Homework 4: North Berkeley wildfire evacuation
Professor Kenichi Soga, Professor Krishna Kumar, Dr Bingyu Zhao and Renjie Wu.