Notes From Class
Week 1: January 27, 29 and 31, 2025.
In-person Instruction: January 27, 29 and 31.
-
Topic (2025-01-27): Welcome to ENCE 201.
-
Topic (2025-01-29): Modern Civil Infrastructure Systems (History, Industrial Revolution) (Part 1):
(pdf)
-
Topic (2025-01-29): Modern Civil Infrastructure Systems (Near-Term Challenges) (Part 2):
(pdf)
-
Topic (2025-01-31): Modern Civil Infrastructure Systems
(Features of Modern Computing, AI/ML) (Part 3):
(pdf)
-
Topic (2025-01-31): Modern Civil Infrastructure Systems
(Cyber-Physical Systems, Digital Twins) (Part 4):
(pdf)
-
YouTube:
As a follow-up to our in-class discussion on Generative AI,
Meet Pragati, India's first AI Avatar News Anchor.
-
Handout:
Dr. Maria Coelho, Model-based Systems Engineering Research Scientist, Idaho National Labs,
Topic: Digital Engineering and Advanced Energy Systems
(pdf).
-
Homework 1: Homework 1
Due: February 14.
Question 3:
The terms Ixx, Iyy, and Ixy in equation 7 are moments of inertia evaluated about the
centroid (not the x- and y- axes and origin).
This problem has an axis of symmetry along the line x = 3.
As such, you should expect that:
-
The centroid will lie on the axis symmetry, and
-
The principal axes will be aligned with the axis of symmetry.
A good first step in checking that your code is actually working correctly is to reposition
the coordinates so that the axis of symmetry is a bit more challenging to compute, e.g.,
Week 2: February 3, 5 and 7, 2025.
In-person Instruction: February 3, 5 and 7.
-
Topic (2025-02-03): Modern Civil Infrastructure Systems (Global Applications) (Part 5):
(pdf)
-
Download: Overview of Civil Information Systems, Parts 1-5
(pdf)
(Version 2025-01-31).
-
Topic (2025-02-03): What is Python? Program Development (Part 1):
(pdf)
-
Topic (2025-02-05): Data Types, Variables, Arithmetic Expressions, etc (Part 2):
(pdf)
-
Download Python Code:
Click here to download a zip
file of the Python code (Version: 2025-04-14):
Unpack, then look at the README.txt file.
This version contains scripts for:
-
Basic stuff: variables, math functions, loops, strings, methods, arrays, objects.
-
Formatting string output.
-
Reading input from CSV, SHP and JSON files.
-
Working with collections: lists, sets, and dictionaries.
-
Working with NumPy: matrix transformations and matrix linear algebra.
-
Working with Pandas: series and dataframes.
-
Working with GeoPandas: spatial data series and dataframes.
-
Creating two- and three-dimensional plots.
-
Working with dates and time, and (basic) time series.
-
Creating objects and working with inheritance mechanisms.
-
Solution of linear matrix equations/numerical Analysis
-
Symbolic computing with SciPy.
Also check out the folders: python-code.d/data/ and python-code.d/applications/ ... and folders therein.
Week 3: February 10, 12 and 14, 2025.
In-person Instruction: February 10 and 12.
In-person Homework/Computer Assistance: February 14.
-
Topic (2025-02-14):
First Program (Evaluate and Plot Sigmoid Function) (Part 3):
(pdf)
-
Solutions:
Solutions to Homework 1
(pdf).
Week 4: February 17, 19 and 21, 2025.
In-person Instruction: February 17 and 19.
In-person Review/Homework/Computer Assistance: February 21.
-
Topic (2025-02-17):
Builtin Collections (Lists, Dictionaries, and Sets) (Part 4):
(pdf)
-
Topic (2025-02-17):
Numerical Python (Working with NumPy) (Part 5):
(pdf)
-
Topic (2025-02-19):
Tabular Data and Dataset Transformation (Working with Pandas) (Part 6):
(pdf)
-
Topic (2025-02-19):
Spatial Data and Dataset Transformation (Working with GeoPandas) (Part 7):
(pdf)
-
Download:
Introduction to Python, Parts 1--7
(pdf)
(Version: 2025-01-31)
-
Homework 2: Homework 2
Due: March 10.
Download Report FHWA-PD-96-001, Recording and Coding Guide for the
Structure Inventory and Appraisal of the Nation's Bridges
(pdf).
Notes for Question 2:
Among the 1,932 highway bridges in the dataset, 40 have an overall condition rating of POOR.
The three main offenders are: PG county (6/40), Baltimore County (5/40), and Baltimore City (16/40).
Here is my pic for the bridges of PG county:
Week 5: February 24, 26 and 28, 2025.
In-person Instruction: February 24 and 26.
In-person Review/Homework/Computer Assistance: February 28.
-
Topic (2025-02-24): Objects and Classes (Part 1) (pdf)
-
Topic (2025-02-24): Relationships Among Classes) (Part 2) (pdf)
-
Topic (2025-02-26): Composition of Object Models (Part 3) (pdf)
-
Topic (2025-02-26): Working with Groups of Objects (Part 4) (pdf)
-
Topic (2025-02-28): Spatial Modeling with Objects (Part 5) (pdf)
-
Download: Python Tutorial II -- Objects and Classes (Parts 1-2-3-4-5)
(pdf)
(Version: 2025-02-23).
Week 6: March 3, 5 and 7, 2025.
In-person Instruction: March 3 and 5.
In-person Review/Working Session: March 7.
-
Topic (2025-03-03): Numerical Accuracy (Representation and Roundoff Errors) (Part 1): (pdf)
-
Topic (2025-03-03): Numerical Accuracy (Subtractive Cancellation) (Part 2): (pdf)
-
Download:
Numerical Accuracy, Parts 1-2
(pdf)
(Version: 2023-07-02)
-
Topic (2025-03-05): Functional Approximation (Taylor Series) (Part 1)
(pdf)
-
Topic (2025-03-05): Functional Approximation (Fourier Series) (Part 2)
(pdf)
-
Download:
Functional Approximation, Parts 1-2
(pdf)
(Version: 2023-09-25).
-
Solutions:
Solutions to Homework 2
(pdf).
Week 7: March 10, 12 and 14, 2025.
In-person Instruction: March 10.
-
Topic (2025-03-10): Review session ...
-
Solutions: Midterm 1 Exam, Spring Semester 2024 (pdf)
-
Solutions: Midterm 1 Exam, Fall Semester 2024 (pdf)
-
MIDTERM 1: March 12, 9am.
Here is the midterm exam (pdf).
NOTE:
You have 12 hrs (i.e., 9 am to 9 pm) to complete and return the exam.
Please make sure your name and e-mail are clearly written on the first page.
Open book and open notes. University rules on academic integrity apply.
Two questions covering programming with Python.
Good luck!
Study Hint: Review the solutions to HW 1 and HW 2.
Instructions for Submitting Midterm I: See details on ENCE201 home page.
-
Solutions: Midterm 1 Exam
(pdf).
Table of Grading Rubics:
Statistics: Average score: 29.5; Max score: 39.75.
Week 8: March 17, 19 and 21, 2025.
Spring Break!
Week 9: March 24, 26 and 28, 2025.
In-person Instruction: March 24 and 26.
In-person Homework Assistance: March 28.
-
Topic (2025-03-24): Roots of Equations (Numerical Solution; Iterative Methods) (Part 1):
(pdf)
-
Topic (2025-03-24): Roots of Equations (Method of Bisection) (Part 2):
(pdf)
-
Topic (2025-03-26): Roots of Equations (Newton Raphson Iteration; Modified Newton Raphson)
(pdf)
-
Download: Roots of Equations, Parts 1-2-3
(pdf)
-
Topic (2025-03-26): Matrices and Vectors (Matrices and Matrix Properties) (Part 1):
(pdf)
-
Topic (2025-03-26): Matrices and Vectors (Vectors and Vector Properties) (Part 2):
(pdf)
-
Download:
Basic Introduction to Vectors and Matrices: Parts I and 2:
(pdf)
(Version: 2024-10-14)
-
Homework 3:
Homework 3
(All about numerical analysis and linear algebra)
Due: April 11.
Note: In Question 3 you need to find a rough
estimate of the interval containing the smallest positive root of f(x) = x - tan(x) = 0.
A straightforward way of doing this is to plot two lines: y1(x) = x and y2(x) = tan(x),
and then look for a positive value of x where the two lines intersect (i.e., just less than 3 pi / 2).
Week 10: March 31. April 2 and 4, 2025.
In-person Instruction: March 31, April 2.
In-person Homework Assistance: April 4.
-
Topic (2025-03-31): Linear Matrix Equations I (Solutions in 2 and 3 Dimensions) (Part 1):
(pdf) ...
-
Topic (2025-03-31): Linear Matrix Equations I (Determinant) (Part 2):
(pdf) ...
-
Topic (2025-04-02): Linear Matrix Equations I (Elementary Row Operations) (Part 3):
(pdf) ...
-
Topic (2025-04-02): Linear Matrix Equations I (Working Examples) (Part 4):
-
Download:
Linear Matrix Equations I,Parts 1-4
(pdf)
(Version: 2025-04-02)
-
Tutorial on Symbolic Python (pdf).
Week 11: April 7, 9 and 11, 2025.
In-person Instruction: April 7 and 9.
In-person Homework Assistance: April 11.
Week 12: April 14, 16 and 18, 2025.
In-person Instruction: April 14 and 16.
In-person Review/Homework Assistance: April 18.
-
Topic (2025-04-14): Interpolation and Curve Fitting (Divided Differences) (Part 1): (pdf) ...
-
Topic (2025-04-14): Interpolation and Curve Fitting (Lagrange Interpolation) (Part 2): (pdf) ...
-
Topic (2025-04-16): Interpolation and Curve Fitting (Least Squares) (Part 3): (pdf) ...
-
Download: Interpolation and Curve Fitting, Parts 1-2-3
(pdf)
(Version 2023-07-14).
-
Topic (2025-04-16): Numerical Differentiation:
(pdf)
(Version 2023-07-15).
Week 13: April 21, 23 and 25, 2025.
In-person Instruction: April 21.
-
Topic (2025-04-21): Review session ...
-
Solutions to Midterm II exam, Fall Semester 2023
(pdf).
-
Solutions to Midterm II exam, Spring Semester 2024
(pdf).
-
Solutions to Midterm II exam, Fall Semester 2024
(pdf).
-
MIDTERM 2: April 23, 9 am.
Here is the midterm exam (pdf).
NOTE:
You have 12 hrs to complete and return the exam.
Please make sure your name and e-mail are clearly written on the first page.
Open book and open notes. University rules on academic integrity apply.
Instructions for Submitting Midterm II:
See details on ENCE201 home page.
-
Solutions: Midterm 2 Exam
(pdf).
Grading Rubics: Questions 1 and 2 ...
Question 3: ....
Max score: 39/40. Average score: 34.7/40.
Week 14: April 28 and 30. May 2, 2025.
In-person Instruction: April 28 and 30.
In-person Homework Assistance: May 2.
Week 15: May 5, 7 and 9, 2025.
In-person Instruction: May 5 and 7.
In-person Homework Assistance: May 9.
-
Topic (2025-05-05):
Numerical Integration II (Rhomberg Integration) (Part 2): (pdf) ...
-
Topic (2025-05-05):
Numerical Integration II (Applications) (Part 3): (pdf) ...
-
Download: Numerical Integration II, Parts 1-2-3
(pdf)
(Version 2023-11-13).
-
Topic (2025-05-07): Solution of Ordinary Differential Equations ...
-
Download: Solution of Ordinary Differential Equations, Parts 1-2-3
(pdf)
(Version 2024-12-02).
-
Solutions to Homework 5 (pdf)
Week 16: May 12, 2025.
In-person Review: May 12 (Cancelled) ...
-
Solutions to Final Exams:
Fall Semester 2023 (pdf),
Spring Semester 2024 (pdf),
Fall Semester 2024 (pdf) ...
-
Please fill out the Maryland Course Evaluation -- believe it or not, over time
we do try to improve the content and way in which courses are taught.
Week 17: May 19, 2025.
-
FINAL EXAM:
May 19, 4.00 pm.
Final exam will be posted here (pdf).
NOTE: You have 24 hrs to complete and return the exam.
Please make sure your name is clearly written on the first page.
Open book and open notes. University rules on academic integrity apply.
Five questions covering solution of linear matrix equations, least squares analysis,
roots of equations, and numerical integration with Trapezoid Rule, Simpson's Rule,
Gauss Quadrature and Romberg Integration.
Good luck!!
Last Modified: January 24, 2025,
Copyright © 2025, Department of Civil and Environmental Engineering, University of Maryland.