Solution (source code)

= Solution

The separable equation $\dot S=-q_{SE}S$ with $S(0)=S_0$ has solution
$$
S(t)=S_0e^{-q_{SE}t}.
$$