I have a problem solving question I've been having difficulty wrapping my head around.
Let's say there are 5 different coal power stations
each uses up coal at a different rate
each has a different amount of coal reserve
each gets more coal shipped in a different rate.
Which will run out of coal first?
To give an algebraic solution, complementing the geometric approach, assume each coal station has $c_0$ coal in the beginning and is supplied at rate $r_i$ while using at rate $r_u$. We assume $r_u > r_i$ otherwise they never run out of coal and can be eliminated from consideration.
Then, $$ c_t = c_0 - (r_u - r_i) t, $$ and so $$c_t = 0 \implies t = \frac{c_0}{r_u - r_i}.$$
This needs to be computed for each one, and the minimum one should be selected.