The container below has a faucet for inflow and drain for outflow.
Water drains at a constant rate represented by a blue line on the bottom graph.
The lower graph records the rate of inflow of water from the faucet and the upper graph records the water level. A pump is on a timer which allows the faucet to work only after 6 and before 18 hours. After 6 hours of water draining out of the tub, you will be allowed to control water flow into the tank by adjusting a faucet located above the tank. Use the slider below to control the rate of inflow. Use the graphs and tub diagram below to help you.