Answer:
3.731 minutes
Step-by-step explanation:
Let the amount of salt in the tank at any time be x(t)
Since x(0)=5 g is dissolved in 20 liters of water
Brine with 2 grams per liter salt enters the tank at the rate of 3 liters/min
Salt entering per minute is 2* 3=6 grams/min
Volume of liquid leaving the tank is the same as the volume of liquid of tank entering, 3 liters/min
volume of liquid remains at 20 liters at all times
At any given points of time, the concentration of salt is
grams/liter
Amount of liquid leaving per minute is 3 liters/min so that the amount of salt leaving is
grams/minute
Differential equation governing the salt amount in the tank is
![(dx(t))/(dt)=6-(3x(t))/(20)](https://img.qammunity.org/2020/formulas/physics/college/5rt9jtkwp42a4clsv39hy0w8mfj7ah9kxx.png)
Therefore,
Integrating factor is
and so the equation becomes
![(d)/(dt)\left[\exp\left((3t)/(20) \right )x(t) \right ]=6\exp\left((3t)/(20) \right )](https://img.qammunity.org/2020/formulas/physics/college/kjj4hj8c7zuo57gw4yllkue52ipdr0fqx2.png)
Therefore,
![\left[\exp\left((3t)/(20) \right )x(t) \right ]=\int 6\exp\left((3t)/(20) \right )=40\exp\left((3t)/(20) \right )+C](https://img.qammunity.org/2020/formulas/physics/college/2zhqb3ekcpgwp49q5c4i87wlyltsuryaiv.png)
![x(t)=40+C\exp\left ( -(3t)/(20) \right )](https://img.qammunity.org/2020/formulas/physics/college/vsin1htfughh3jimhkxhkq9schjp31x6xj.png)
Using the initial condition
![x(0)=5\Rightarrow C=-35](https://img.qammunity.org/2020/formulas/physics/college/8b7oh6blwch236c48wmkteh2ib95i96qo1.png)
is the amount of salt at any point of time
![x(t)=40-35\exp\left ( -(3t)/(20) \right )=20\Rightarrow 35\exp\left ( -(3t)/(20) \right )=20](https://img.qammunity.org/2020/formulas/physics/college/bqpw8i7e9tzgkfq4q1qxe35fi2gdkslfl5.png)
![\exp\left ( -(3t)/(20) \right )=(20)/(35)\Rightarrow -(3t)/(20)=\ln\left((20)/(35)\right ) \approx -0.559616](https://img.qammunity.org/2020/formulas/physics/college/2sn2jinnz5ndlh9oozma2i01n40y6pfl0r.png)
![t \approx 0.559616* (20)/(3)\approx 3.730733](https://img.qammunity.org/2020/formulas/physics/college/ompot4xyb1dxewsandiuqc9v0giqobrts8.png)
After approximately 3.731 minutes, we have 20 grams of salt in the tank