Matthew L. Wright
Associate Professor, St. Olaf College

Modern Computational Math

MATH 242 ⋅ Fall 2025

Top
Today
Bottom
Challenge Problems Earn a Token
Do the following before the first class:
  • Complete the Introductory Survey, if you haven't done so already.
  • Install Mathematica on your computer. If you've already installed Mathematica, open it up and check that your license key is still active. You might be prompted to upgrade to the most recent version. For assistance, see this IT Help Desk page.
Friday
September 5
Do the following before next class:
Monday
September 8
Do the following before next class:
  • Read the following pages about the Wolfram Language: Fractions & Decimals, Variables & Functions, Lists, Iterators, and Assignments.
  • Modify the code from class to complete the Archimedes's Method practice problems, and upload your solutions to the Archimedes's Method assignment on Moodle.
  • Read pages 13–25 in our Experimental Mathematics text. Come to class prepared to explain what the text means by accuracy, efficiency, and representation.
  • If you're curious why the sum of reciprocals of squares converges to \(\pi^2/6\) (on the Intro Mathematica practice problem), then watch this video.
Wednesday
September 10

Bonus video: Paths to Math: John Urschel

Do the following before next class:
Friday
September 12
Inverse tangent formulas for \(\pi\)
Do the following before next class:
  • Complete the Inverse Tangent Formulas practice problems and upload your solutions to the Inverse Tangent Formulas assignment on Moodle.
  • Read Section 1.5 (pages 33–38) in our Experimental Mathematics text. Do Exercise 1.27 (not to turn in). How are the methods in this section different from what we have seen so far?
  • Take a look at the \(\pi\) Project, due next Friday. You don't need to write any code for this yet, but start thinking about the problem and planning the methodology you will use for this project.
Monday
September 15
Formulas for \(\pi\) by Ramanujan and others

MSCS Colloquium: "When statistical modeling and machine learning collide: collider bias in genetic association studies" Monday, September 15, 3:30–4:30pm in RNS 210

Do the following before next class:
Wednesday
September 17
Probabilistic approaches for \(\pi\)

Bonus video: Eugenia Cheng on The Late Show

Do the following before next class:
Do the following before next class:
  • Finish the Dart Board \(\pi\) practice problems from Wedneseday and upload your solution to the Dart Board Pi assignment on Moodle.
  • Watch The magic of Fibonacci numbers, a 6-minute TED talk by Arthur Benjamin.
  • Read Section 2.2 (pages 51–60) in our Experimental Mathematics text.
  • Recommended: Read Chapter 1, "Flourishing," in Mathematics for Human Flourishing by Francis Su, available here on JSTOR. (If necessary, log into JSTOR using your St. Olaf account.) By next Wednesday, you will answer two reflection questions (see below) based on this text about mathematics as a human activity.
Monday
September 22
Fibonacci implementations
Do the following before next class:
  • Read Chapter 1, "Flourishing," in Mathematics for Human Flourishing by Francis Su, available here on JSTOR. (If necessary, log into JSTOR using your St. Olaf account.) Then answer the following questions, writing at least one paragraph per question.
    1. Describe any virtues you have acquired as a result of doing mathematics. (Think of virtues as aspects of character that mathematics might build, such as habits of mind, that shape the way you approach life.)
    2. What value is there in studying math if you'll never use what the math that you're learning?
    The important thing is to be thoughtful about your answers. Submit your answers to the Flourishing assignment on Moodle.
  • Read Section 2.3 up to the "Further Generalizations" heading on page 72 in our Experimental Mathematics text. Focus on the process of discovering Cassini's identity and the methods presented for verifying the identity for lots of indexes \(n\).
  • Complete the Computing Fibonacci practice problems and upload your solutions to the Computing Fibonacci assignment on Moodle.
  • Optionally, begin revising your \(\pi\) Project. Talk with the professor if you have questions about how to do this. Revisions are due Monday, September 29. You may submit your revisions to the same project link on Moodle.
Wednesday
September 24

Bonus video: Francis Su — Mathematics for Human Flourishing short version and long version

Learn about opportunities in math, stats, and computer science at the MSCS Showcase — Thursday, September 25, 4:30pm, Buntrock Commons Ballrooms

Do the following before next class:
Friday
September 26
Fibonacci polynomial identities
Do the following before next class:
  • Read Section 2.4 (pages 76–84) in our Experimental Mathematics text.
  • Complete the Polynomial Identities practice problem and upload your solution to the Polynomial Identities assignment on Moodle. Come to class ready to discuss your observation about Fibonacci Polynomial identities.
  • Optionally, finish revising your \(\pi\) Project. Talk with the professor if you have questions about how to do this. Revisions are due Monday, September 29. You may submit your revisions to the same project link on Moodle.
Monday
September 29
Generalized Fibonacci numbers
\(\pi\) Project
revisions due

Northfield Undergraduate Mathematics Symposium (NUMS): Tuesday, September 30, 3:30–7:30pm in RNS 290

Do the following before next class:
Wednesday
October 1
Generalized Fibonacci numbers

Bonus video: Moon Duchin: "Political Geometry" and DistrictR

Do the following before next class:
Friday
October 3
Iterated functions; Collatz trajectories

MSCS Lightning Talks: learn about the research areas of your MSCS faculty — Friday, October 3, 3:30–4:30pm in RNS 210

Do the following before next class:

MSCS Colloquium: "A Wrinkle in Time (to Event): A Model for Alternating Recurrent Events" Monday, October 6, 3:30–4:30pm in RNS 210

Do the following before next class:
Wednesday
October 8
More Collatz trajectories

Terence Tao: blog and "Four Minutes with Terence Tao"

Do the following before next class:
  • Read Section 3.2 (pages 110–117) in our Experimental Mathematics text.
  • Complete the Collatz Extensions practice problems and upload your solutions to the Collatz Extensions assignment on Moodle.
  • Read Chapter 2, "Exploration," in Mathematics for Human Flourishing by Francis Su, available here on JSTOR. (If necessary, log into JSTOR using your St. Olaf account.) Then answer the following questions, writing at least one paragraph per question.
    1. Francis Su writes, "Even wrong ideas soften the soil in which good ideas can grow." How have you seen this in your own life? Describe some examples from your own experience that embody this truth.
    2. In what ways have you grown as a mathematical explorer so far in this course? If you're not sure, what could you do to enhance your imagination, creativity, and expectation of enchantment throughout the rest of the semester?
    The important thing is to be thoughtful about your answers. Submit your answers to the Exploration assignment on Moodle.
Friday
October 10

CURI Showcase:Friday, October 10, 4:00–6:00pm in the King's Dining Room (Buntrock Commons)

Do the following before next class:
Monday
October 13

MSCS Colloquium: "Sex Differences in Genomics: Analytical Considerations and Applications to Mental Health" Monday, October 13, 3:30–4:30pm in RNS 210

Do the following before next class:
Wednesday
October 15
Logistic map bifurcation diagrams

Bonus: Why is Mathematics Useful — Robert Ghrist, and Applied Dynamical Systems Vol. 1

Do the following before next class:
Friday
October 17
Generalized Fibonacci
Project revisions due
Have a great fall break! No class October 20.
Do the following before next class:
Wednesday
October 22
Intro to Sage and CoCalc
Do the following before next class:

Bonus: MEET a Mathematician — Federico Ardila and Federico Ardila on Math, Music and the Space of Possibilities

MSCS Lightning Talks: learn about the research areas of your MSCS faculty — Friday, October 24, 3:30–4:30pm in RNS 210

Do the following before next class:
  • Read the following pages from the Python Land tutorial: Variables, Functions, Booleans, Loops, and Strings.
  • Read pages 151–154 in our Experimental Mathematics text. Take note of how the Sieve of Eratosthenes is able to efficiently find all the prime numbers up to some maximum value.
  • Complete the four practice problems in the Intro Primes practice problems notebook on CoCalc. For help, talk with the professor or with classmates, or visit the help session on Sunday evening. Simply complete the problems in the file on CoCalc before 5pm Monday, and they will be automatically turned in for grading.
Monday
October 27
Prime numbers: sieve of Eratosthenes
Do the following before next class:
Wednesday
October 29
Properties of prime numbers

Bonus video: Yitang Zhang: An Unlikely Math Star Rises

Do the following before next class:
  • Read Section 4.2 in our Experimental Mathematics text.
  • Complete the Prime Pairs practice problems that you will find in the Assignments folder on CoCalc. Simply complete the problems on CoCalc and they will be automatically turned in for grading. These practice problems are due Friday at 5pm.
  • Optionally, work on revising your Iterated Functions Project. Revisions are due next Monday, November 3.
  • Take a look at the Primes Project, due next Friday, November 7. When you're ready to begin, you should work on your Primes Project in CoCalc, in the folder Assigments/Primes Project.
Friday
October 31
Counting primes
Do the following before next class:
  • Read Section 4.3, pages 162–165 in our Experimental Mathematics text.
  • Look through the SageMath documentation on 2D plotting to see what types of plots are possible and what functions are used to make them.
  • Complete the Counting Primes practice problems that you will find in the Assignments folder on CoCalc. Simply complete the problems on CoCalc and they will be automatically turned in for grading. These practice problems are due Monday at 5pm.
  • Optionally, finish revising your Iterated Functions Project. Revisions are due Monday. You may submit your revisions to the Iterated Functions Project assignment on Moodle.
  • Begin the Primes Project, due next Friday, November 7. Do your work in CoCalc, in the folder Assigments/Primes Project.
Monday
November 3
Counting primes and the Riemann zeta function
Iterated Functions
Project revisions due
Do the following before next class:
  • Finish reading Section 4.3 (pages 165–172) in our Experimental Mathematics text.
  • Complete the Primes and Zeta practice problems that you will find in the Assignments folder on CoCalc. Simply complete the problems on CoCalc and they will be automatically turned in for grading. These practice problems are due Wednesday at 5pm.
  • Watch The Riemann Hypothesis, Explained by Quanta Magazine (16 min). Bring your answers to the following two questions to class on Wednesday:
    1. What did Riemann hypothesize in his 1859 paper?
    2. According to the video, how do the zeta zeros relate to the prime numbers?
  • Work on the Primes Project, which is due Friday. Do your work in CoCalc, in the folder Assigments/Primes Project.
Wednesday
November 5
Counting primes and the Riemann zeta function

Kathryn Hess: interview in the AMS Notices and TEDx Talk: Digital Neuroscientist of the Future

Do the following before next class:
Friday
November 7
Detecting large primes
Do the following before next class:
  • Read Section 4.4 (pages 173–183) in our Experimental Mathematics text. If you want to see how large primes are used in cryptography, read Section 4.5.
  • Complete the Large Primes practice problems that you will find in the Assignments folder on CoCalc. Simply complete the problems on CoCalc and they will be automatically turned in for grading. These practice problems are due Monday at 5pm.
  • Optionally, work on project revisions or challenge problems.
Monday
November 10
Pseudorandom numbers

Math Faculty Candidate Colloquium: Monday, November 10, 3:30–4:30pm in RNS 310

Do the following before next class:
  • Read Section 5.1, (pages 213–228), in our Experimental Mathematics text.
  • Complete the Pseudorandom Numbers practice problems that you will find in the Assignments folder on CoCalc. Simply complete the problems on CoCalc and they will be automatically turned in for grading. These practice problems are due Wednesday at 5pm.
  • Take a look at the Final Project Information. Begin thinking about possible topics and groups for your project.
  • Optionally, work on revising your Primes Project. Revisions are due next Monday, November 17.
Wednesday
November 12
Probabilistic simulation

Bonus: video How Not to Be Wrong: The Power of Mathematical Thinking - with Jordan Ellenberg and article The Psychology of Statistics by Jordan Ellenberg

BRIDGES: Pathways Thursday, November 13, 5–6pm, RNS 356: pizza and discussion with senior STEM majors

Do the following before next class:
  • Read Section 5.3 (pages 238–244) "Basics of Simulation" in our Experimental Mathematics text. Also read Page 246–247 about the coupon collector problem.
  • Optionally, read Section 5.2 to learn about how to generate nonuniform random numbers.
  • Try to finish your simulation code for the Birthday Problem. Take a look at the solution in the classwork file linked above (also on CoCalc).
  • Complete the Simulation practice problems that you will find in the Assignments folder on CoCalc. Simply complete the problems on CoCalc and they will be automatically turned in for grading. These practice problems are due Friday at 5pm.
  • Take a look at the Final Project Information. Thinking which topics interest you and who you would like to work with for the final project.
  • Optionally, revise your Primes Project (revisions due Monday) or work on a challenge problem.
Friday
November 14
Random walks

Math Faculty Candidate Colloquium: Friday, November 14, 3:30–4:30pm in RNS 210

Do the following before next class:
  • Read Section 5.5 through Figure 5.7 on Page 259 in our Experimental Mathematics text.
  • Complete the 1D Random Walks practice problems that you will find in the Assignments folder on CoCalc. Simply complete the problems on CoCalc and they will be automatically turned in for grading. These practice problems are due Monday at 5pm.
  • Take a look at the Final Project Info. Start thinking about which topics interest you and who you would like to work with.
  • Optionally, revise your Primes Project or work on a challenge problem.
Monday
November 17
1D Random walks
Primes Project
revisions due

Math Faculty Candidate Colloquium: Monday, November 17, 3:30–4:30pm in RNS 210

Do the following before next class:
  • To be announced...
Wednesday
November 19
2D Random walks
Do the following before next class:
  • To be announced...
Friday
November 21
2D Random walks
Do the following before next class:
  • To be announced...
Monday
November 24
3D Random walks
Random Walk
project due
There is no assignment over break. However, you could consider the following:
  • If there is a project from earlier in the semester that you have not turned in yet, you may still use a token to turn it in. Break could be a good time to work on that project.
  • Optionally, work on a challenge problem.
Have a great Thanksgiving break! No class November 26 or 28.
Monday
December 1
Artificial intelligence and computational mathematics
Do the following before next class:
  • To be announced...
Wednesday
December 3
Artificial intelligence and computational mathematics
Do the following before next class:
  • To be announced...
Friday
December 5
Final projects
Random Walk project
revisions due
Do the following before next class:
  • To be announced...
Monday
December 8
Final projects
We've made it to the end of the semester! A few last things to do:
  • To be announced...
Tuesday
December 16
Final Presentations 1:00–3:00pm