The amount of untreated water coming into a plant can be modeled by the following function:
[tex]f(t)=100+30\cos\frac{t}{6}[/tex]The amount of water treated by that same plant is given by:
[tex]g(t)=30e^{\cos\frac{t}{2}}[/tex]In part (a) we must define the function a(t) that represents the amount of untreated water inside the plant, at any given time, t. This quantity is equal to the amount of untreated water entering the plant less the amount of water treated by it at the same time. In summary we have:
[tex]a(t)=f(t)-g(t)=100+30\cos\frac{t}{6}-30e^{\cos\frac{t}{2}}[/tex]In part (b) we have to find its derivative. In order to do that let's remember how to derivate a cosine and an exponential expression:
[tex]\begin{gathered} h(t)=\cos(k(t))\Rightarrow h^{\prime}(t)=-\sin(k(t))\cdot k^{\prime}(t) \\ b(t)=e^{c(t)}\Rightarrow b^{\prime}(t)=e^{c(t)}\cdot c^{\prime}(t) \end{gathered}[/tex]Using these properties we can find a'(t):
[tex]\begin{gathered} a^{\prime}(t)=f^{\prime}(t)-g^{\prime}(t)=(100+30\cos\frac{t}{6})^{\prime}-(30e^{\cos\frac{t}{2}})^{\prime} \\ a^{\prime}(t)=-\frac{30}{6}\sin\frac{t}{6}-30e^{\cos\frac{t}{2}}\cdot(-\frac{1}{2}\sin\frac{t}{2}) \\ a^{\prime}(t)=-5\sin\frac{t}{6}+15e^{\cos\frac{t}{2}}\sin\frac{t}{2} \end{gathered}[/tex]In part (c) we must find the critical points of the function over [0,24). The critical values are t-values where the derivative of the function is not defined or where it is 0. Then we must solve a'(t)=0:
[tex]a^{\prime}(t)=0=-5\sin(\frac{t}{6})+15e^{\cos(t\/2)}\sin(\frac{t}{2})[/tex]