Problem 54735. Solve an ODE: concentrations predicted by the cells-in-series model
One approach for predicting mixing and transport of contaminants in a river is the cells-in-series model. The model divides a river into several well-mixed cells of volume V. Then if the discharge (i.e., the volume of water flowing past a cross section per unit time) is Q and the first-order decay coefficient (dimensions of time) is k, the concentration in the nth cell is given by
Write a function to compute the maximum concentration in the nth cell and the time it occurs assuming that the concentration in the first cell (i.e., ) is at time and no contaminant enters the first cell from upstream.
Solution CommentsShow comments
Problem Recent Solvers3