A model of tank fluid temperature (fixed mass inside) based on the mixing of two streams, one hot and one cold, each with fixed temperature, the hot one a fixed flowrate and the cold one an oscillatory flowrate can be expressed as:
du/dt + [c1 + c2*(1+cos(t))]*u = c1
The solution can be...