Two different colours of paint are being mixed together in a container.
The paint is stirred continuously so that each colour is instantly dispersed evenly throughout the container.
Initially the container holds a mixture of 10 litres of red paint and 20 litres of blue paint.
The colour of the paint mixture is now altered by
• adding red paint to the container at a rate of 2 litres per second
• adding blue paint to the container at a rate of 1 litre per second
• pumping fully mixed paint from the container at a rate of 3 litres per second.
Let r litres be the amount of red paint in the container at time t seconds after the colour of the paint mixture starts to be altered.