MTH 337 - Spring 2026
Syllabus
Weekly Schedule
Current Tasks
Project Report Guide
Useful links
Python tools
MTH 337 - Spring 2026
MTH 337
»
MTH 337 Introduction to Scientific and Mathematical Computing
View page source
MTH 337 Introduction to Scientific and Mathematical Computing
Syllabus
Instructor
Course Resources
Grading
Project Reports
In-class assignments
Useful Information
Important Dates
Incomplete Grades
Academic Integrity
Accessibility Resources
Critical Campus Resources
Weekly Schedule
Preliminaries
Getting started with Jupyter notebook
Launching Juypter notebook
Locating Jupyter notebook files
Downloading notebook files
Week 1: Jan 21 - Jan 23
Logistics
Jupyter Notebook
Python
Week 1 notebook
Week 2: Jan 26 - Jan 30
Python
Week 2 notebook
Week 3: Feb 2 - Feb 6
Python
Week 3 notebook
Current Tasks
Project Report Guide
Checklist
Collaboration
Using external resources
Report grading rubrics
Report Style Guide
Report introduction
Report conclusions
Report organization
References
Math formatting
Code structure
Code sequencing
Code comments
Execution errors
Output size
Output formatting
Graphs and plots
Useful links
UBLearns
MTH 337 notes by prof. Adam Cunningham
Markdown cheatsheet
LaTeX symbols
Python documentation
Matplotlib documentation
Numpy documentation
Project Euler
Python tools
Importing modules
Python modules
Referencing module names
Lists, ranges, and "for" loops
Lists
Strings vs Lists
“for” loops
Range
Functions
Functions basics
Positional and keyword arguments
Default values
Why use functions
Mutable vs immutable objects
Two examples
How this works
Why it works this way
Additional remarks
List comprehensions
Basic comprehensions
Generalized comprehensions
Nested comprehensions
Matplotlib plots
Basic plotting
More plotting options
Plot legend
Further reading
Matplotlib subplots
Subplots
Axes objects
The slider widget
NumPy arrays
NumPy array basics
Some differences between lists and numpy arrays
How to create a numpy array
Numpy and matplotlib
Further reading
Multidimensional arrays
Creating arrays with more than one dimension
Mathematical operations on multidimensional arrays
Slicing multidimensional arrays
Boolean NumPy arrays
Boolean arrays
Logical operations on boolean arrays
Indexing with boolean arrays
Image processing
imshow
imsave
RGB Colors
imshow and imsave with RGB colors
imread
NetworkX library
The NetworkX library
Graphs
Weighted Edges
Digraphs
Multigraphs
Further reading