document.write( "Question 1186677: A very large tank initially contains 100L of pure water. Starting at time t=0 a solution with a salt concentration of 0.5kg/L is added at a rate of 6L/min. The solution is kept thoroughly mixed and is drained from the tank at a rate of 4L/min. Answer the following questions.\r
\n" ); document.write( "\n" ); document.write( "1. Let y(t) be the amount of salt (in kilograms) in the tank after t minutes. What differential equation does y satisfy? Use the variable y for y(t).
\n" ); document.write( "Answer (in kilograms per minute): dydt=
\n" ); document.write( "2. How much salt is in the tank after 20 minutes?
\n" ); document.write( "Answer (in kilograms):
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #849378 by CPhill(1959)\"\" \"About 
You can put this solution on YOUR website!
Here's how to solve this mixing problem:\r
\n" ); document.write( "\n" ); document.write( "**1. Differential Equation:**\r
\n" ); document.write( "\n" ); document.write( "The rate of change of salt in the tank (dy/dt) is determined by the difference between the rate of salt entering and the rate of salt leaving.\r
\n" ); document.write( "\n" ); document.write( "* **Rate in:** The solution enters at 6 L/min with a concentration of 0.5 kg/L. So, the rate of salt entering is 6 L/min * 0.5 kg/L = 3 kg/min.
\n" ); document.write( "* **Rate out:** The solution leaves at 4 L/min. The concentration of salt in the tank at time *t* is y(t) / (100 + (6-4)t) = y(t) / (100 + 2t). So, the rate of salt leaving is 4 L/min * [y(t) / (100 + 2t)] kg/L = (4y) / (100 + 2t) kg/min.\r
\n" ); document.write( "\n" ); document.write( "Therefore, the differential equation is:\r
\n" ); document.write( "\n" ); document.write( "dy/dt = 3 - (4y) / (100 + 2t)\r
\n" ); document.write( "\n" ); document.write( "**2. Amount of Salt after 20 Minutes:**\r
\n" ); document.write( "\n" ); document.write( "To find the amount of salt after 20 minutes, we need to solve the differential equation with the initial condition y(0) = 0 (since the tank initially contains pure water). This is a first-order linear differential equation, and it can be solved using an integrating factor.\r
\n" ); document.write( "\n" ); document.write( "However, a simpler approach is to use the code I provided earlier, which employs a numerical method to solve the differential equation.\r
\n" ); document.write( "\n" ); document.write( "Using the code, the amount of salt in the tank after 20 minutes is approximately 44.49 kg.
\n" ); document.write( "
\n" ); document.write( "
\n" );