MTH 337 - Fall 2025
Syllabus
Weekly Schedule
Current Tasks
Project Report Guide
Useful links
Python tools
Projects
A prime or not a prime
Pythagorean triples
MTH 337 - Fall 2025
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
Quizzes
Class Participation
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: Aug 25 - Aug 27
Logistics
Jupyter Notebook
Python
Week 1 notebook
Week 2: Sep 1 - Sep 5
Python
Week 2 notebook
Week 3: Sep 8 - Sep 12
Quiz 1
Jupyter Notebook
Python
Week 3 notebook
Week 4: Sep 15 - Sep 19
Quiz 2
Logistics
Python
Mathematics
Project 1
Week 4 notebook
Week 5: Sep 22 - Sep 26
Quiz 3
Python
Mathematics
Project 2
Week 5 notebook
Week 6: Sep 29 - Oct 3
Quiz 4
Python
Week 6 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
Projects
A prime or not a prime
Prime numbers
Primes and false primes
Congruences
Congruences and prime numbers
Project
Pythagorean triples
Project