There is a question on OpenStax college physics that is phrased:
If a 500-mL glass beaker is filled to the brim with ethyl alcohol at a temperature of 5.00ºC, how much will overflow when its temperature reaches 22.0ºC?
The answer of 9.35 mL makes sense if the container was closed and all the ethyl alcohol in it increased temperature. Using $dV = \beta VdT$ where for ethyl alcohol $\beta= 1.100 \times 10^{-3}$ 1/°C yields that solution.
However, assuming that as the liquid was expanding, whatever overflowed from the top of the container fell into another container where it stopped heating up and was gradually returned to 5.00ºC? How would I approach computing this or similar problems?