Chapter 3. Numerical Simulation -- 2 Exercises
1. Complete the Simulation
The stock represents the volume of water stored in a tank.
Volume is measured in gallons; the flows are measured in gallons per second.
Suppose we initialize the stock at 2 gallons, and we set the flows as shown
on the graph to the right. The graph does not show the volume of water in
the tank, but you should be able to simulate the model in your head. During
the first second for example, the volume will grow from 2 to 6 gallons.
Continue with the simple numerical integration to determine how many gallons
of water will be in the tank by the end of the simulation.![]() |
![]() |
The population shown below is measured in millions of people.
The flows are measured in million people per year. Suppose we initialize
the stock at 8 million people, and we set the flows
as shown on the graph to the right. The graph does not show the population
, but you should be able to simulate the model in your head. During the
first year for example, the population will decline from 8 to 6 million.
Continue with the simple numerical integration to determine the size of
the population at the end of the simulation. |
|