EGR 103L:
Computational Methods in Engineering
 
Overview
Schedule
Test Bank
External
Resources

Canvas
(103L site)

Pratt Pundit
(103L site)
EdStem
(103L site)

Copyright (c)
2023
Pratt School
of Engineering

Contact:
Dr. Gustafson

 

Note: This schedule will continue to be a work in process. The readings come from:

Week
Lecture
Day
Topic
Reading
Lab Topic
1
1
M: 8/28
  • Course introduction, administration, and web page
  • Chapra
    • Part One: Modeling, Computers, and Error Analysis
    • 1 Mathematical Modeling, Numerical Methods, and Problem Solving
 
2
F: 9/1

Introduction to Programming: Hilton & Bracy's "Seven Steps"

Coursera lesson: Developing an Algorithm (video)
Coursera lesson: A Seven Step Approach to Solving Programming Problems (video)

2
3
M: 9/4

Introduction to Python; Numerical Types (int, float, array)

  • Chapra
    • 2.1 The Spyder/iPython Environment
    • 2.2 Assignment
    • 2.3 Mathematical Operations
  • Other
    • RA: 2.1-2.7, 2.10-2.12, 7.1-7.3

Introduction to Computing at Duke

4
F: 9/8

Built-in Functions; Formatted printing

  • Chapra
    • 2.4 Use of Built-In Functions
    • 3.1.1 Python Script Files
    • 3.2 Input-Output
3
5
M: 9/11

Other Types (strings, lists, tuples) and Graphics

  • Chapra
    • 2.5 Graphics
    • 2.6 Other Resources
  • Other
    • TP: 8 - Strings (1,2,4,5,8,9,10)
    • TP: 10 - Lists (1,2,4,5,6,8,9,10,11)
    • TP: 12 - Tuples (1,2,3,4,5,6,7)

Introduction to Python; Cantilever Beam

 

6
F: 9/15

File I/O and Formatted Printing; Functions

  • Chapra
    • 3.1.2 Python Functions
    • 3.1.3 Python Variable Scope
4
7
M: 9/18

Structured Programming 1

  • Chapra
    • 3.3.1 Decisions
    • 3.3.2 More on Arguments

Functions and Scripts

8
F: 9/22

Structured Programming 2

  • Chapra
    • 3.3.3 Loops
    • 3.4 Nesting and Indentation
5
9
M: 9/25

More on Functions

  • Chapra
    • 3.5.1 Lambda Functions
    • 3.5.2 Function Functions
    • 3.5.3 Passing Parameters
  • TP: 11 - Dictionaries (1,2)

Structured Programming I

10
F: 9/29

3D Plotting

  • Chapra
    • A.6 Plotting in 3D
6
11
M: 10/2

Coordinate Systems

3D Plotting

12
F: 10/6

NOTE: Will be asynchronous

Errors 1

  • Chapra
    • 4.1 Errors
    • 4.2 Roundoff Errors
7
13
M: 10/9

Errors 2, Iterative Methods, and Logical Masks

  • Chapra
    • 4.3 Truncation Errors
    • 4.4 Total Numerical Error
    • 4.5 Blunders, Model Errors, and Data Uncertainty

Structured Programming II

B
F: 10/13

NOTE: Will be asynchronous

Logical Masks and Random Numbers

  • Chapra
    • 14.2 Random Numbers and Simulation
8
14
M: 10/16
No Class - Fall Break

TA Office Hours



15
F: 10/20
Monte Carlo Methods
  • Chapra
    • 14.2 Random Numbers and Simulation
9
16
M: 10/23

Roots 1

  • Chapra
    • 5.1 Roots in Engineering and Science
    • 5.2 Graphical Methods
    • 5.3 Bracketing Methods and Initial Guesses
Logical Masks, Random Numbers, and Monte Carlo Methods
17
F: 10/27

Roots 2

  • Chapra
    • 5.4 Bisection
    • 6.1 Fixed-Point Iteration
    • 6.3 Newton-Raphson
    • 6.5 Brent's Method
    • 6.6 brentq
10
18
M: 10/30
Optimization
  • Chapra
    • 7.1 Introduction and Background
    • 7.2 One-dimensional Optimization
    • 7.3 Multidimensional Optimization

TA Office Hours



19
F: 11/3
Linear Algebra 1
  • Chapra
    • 8.1 Matrix Algebra Overview
    • 8.2 Solving Linear Algebraic Equations with Python
11
20
M: 11/6

Linear Algebra 2

  • Chapra
    • 11.1 The Matrix Inverse
    • 11.2 Error Analysis and System Condition

Minilabs 1-3
Roots
Optimization
Linear Algebra

21
F: 11/10

Numerical Integration

  • Chapra
    • 19.1 Introduction and Background
      19.2 Newton-Cotes Formulas
      19.3 The Trapezoidal Rule
      19.4 Simpson's Rules
12
22
M: 11/13

Numerical Differentiation

  • Chapra
    • 21.1 Introduction and Background
    • 21.2 High-Accuracy Differentiation Formulas
    • 21.7 Numerical Differentiation with Python

Numerical Integration and Differentiation

23
F: 11/17
Object Oriented Programming and Classes in Python
13
24
M: 11/20
Object Oriented Programming and Classes in Python

No lab - Thanksgiving Break

B
F: 11/24
No class - Thanksgiving Break - Office hours will resume Monday 11/27
14
25
M: 11/27

Curve Fitting

OOP
26
F: 12/1
Curve Fitting, Initial Value Problems
15
27
M: 12/4
Initial Value Problems Curve Fitting, IVP
28
F: 12/8
Office Hours
No exam!      
       
       

 

 

 

 

  Last updated on November 15, 2023