Answer:
[tex]A(t)=250-230e^{-\frac{t}{50} }[/tex]
Step-by-step explanation:
A(t) is the amount of salt in the tank at time t.
dA / dt = rate of salt flowing into the tank - rate of salt going out of the tank
dA / dt = (1 g/L)*(5 L/min) - (A(t)/250 g/L) * (5L/min)
dA / dt = 5 g/min - (A(t) / 50) g/min
[tex]\frac{dA}{dt}+\frac{A(t)}{50} = 5\\\\The\ integrating\ factor(IF)= e^{\int\limits \frac{1}{50}dt }=e^{\frac{t}{50} }\\\\Multiplying\ through\ by\ the\ I.F:\\\\\frac{dA}{dt}*e^{\frac{t}{50} }+\frac{A(t)}{50}*e^{\frac{t}{50} } = 5*e^{\frac{t}{50} }\\\\Integrating \ both \ sides:\\\\\int\limits[ \frac{dA}{dt}*e^{\frac{t}{50} }+\frac{A(t)}{50}*e^{\frac{t}{50} }] dt=\int\limits 5e^{\frac{t}{50} } dt\\\\A(t)e^{\frac{t}{50} } =\int\limits 5e^{\frac{t}{50} } dt\\\\[/tex]
[tex]A(t)e^{\frac{t}{50} } =250e^{\frac{t}{50} }+C\\\\A(t)=250+Ce^{-\frac{t}{50} }\\\\But\ A(0) = 20\\\\20=250+Ce^{-\frac{0}{50} }\\\\C+250=20\\\\C=-230\\\\A(t)=250-230e^{-\frac{t}{50} }[/tex]