Lake Pollution: calculations and modelling
Summary
Learning Goals
Concepts and content:
Box models (input/output)
Steady-state solutions
For-loops
MATLAB is used in the second part to build a computational model for the lake-pollution system that students describe mathematically in the first part.
Students need to understand how for-loops work and that they are not doing exactly the same math in each iteration of the for-loop that they did in the steady-state calculation. At this point of the semester, students should be comfortable defining variables, setting up initial conditions, and tracking the important information in new variables in the for-loop.
At this point, I ask students to turn in their math and their code. I have considered turning this into a written report where students would have to describe their methods and results to a theoretical town or environmental group.
Context for Use
This is a 2000-level, intermediate course for Earth & Environmental Science majors. The goals are to build mathematical and computational comfort and skills in our students that they can apply to upper-division courses. In our major, students have options for supporting sciences they take, like CHEM, PHYS, BSCI, MATH, Comp. Sci., Data Science, and Stats. Not all students take math and/or computer science, and many students in this class lack confidence with math and/or coding. The spirit of this class is very much to make math and coding fun and useful with a variety of Earth & Environmental Science examples.
This assignment is given about the 7th or 8th week of class after we have done box models, steady-state solutions, and written other codes with for-loops.
Description and Teaching Materials
This activity includes the written assignment given to the students, a key for the math portion, and a key for the MATLAB code.
Student assignment for Lake Pollution (Microsoft Word 2007 (.docx) 25kB Sep24 26)
Teaching Notes and Tips
Assessment
Students are scored for correct answers and neatness. All my assignments in this class have a neatness grade because I emphasize that science needs to be communicated and repeatable. I find code-writing helps reinforce good math writing. I emphasize that both math and code steps are written out line-by-line in vertical series, and that the use of space is important. I do not grade on hand-writing.
