Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 1 Consider a lake with volume of 1 0 0 0 0 0 m 3 . Each day 1 0 0 0 m 3
Problem
Consider a lake with volume of Each day of water flows into the lake,
which is partially clean water, partially pollution. On day there is no pollution in the
lake. Suppose that inflow consists of of pollution and of clean water daily. The
outflow from the lake is daily.
a Construct a difference equation describing this process see hint on the next page
the equation is construted there, you only need to substitute numerical data
b Solve this difference equation, and obtain formula for the level of pollution as a
function of time.
c Write Python program plotting the level of pollution in the lake as a function of time.
The easiest way to do this is to modify program illustrating the growth of city's population,
supplied on the SAKAI page.
Verify correctness of your program by checking that your solution obtained in b agrees
with results obtained from the program. The easies way to do it is to calculate, using
formula from b the pollution level after, for example, days, and then check what the
program outputs after days. You do not have to submit anything for part c this is
just verification of correctness of your program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started