## Mixture problem in Calculus

I keep forgetting the way to solve this problem. So, when I in future have no clue I know where to look.

**The problem**

A 200-galon tank is half full of distilled water. At time , a solution containing 0.5 pound/galon of salt enters the tank at the rate of 5 gal/minutes, and the well-stirred mixture is withdrawn at the rate of 3 gal/minutes.

a. Give a mathematical model representation of the above problem.

b. At what time, will the tank be full?

c. At the time the tank is full, how many pounds of salt will it contain?

**The mathematical model**

The model describing the above process is based on the following formula:

rate of change of the amount of salt = (rate of salt arrived) – (rate of salt departed)

Suppose is the volume of the liquid in the tank at time . The volume of liquid inside the tank will increase as the inflow (5 gal/minutes) is bigger than the outflow (3 galon/minutes). Thus, we have

100 galon + (5 gal/min – 3 gal/min) min,

gal,

as we know that initially the tank is half full (100 gal).

Suppose is the amount of salt inside the tank at time . The rate in of salt is as follows,

rate in (pound/min) (0.5 pound/gal) (5 gal/min) 2.5 pound/min,

while the rate out is

rate out (pound/min) outflow (gal/min)

(pound/min)

(pound/min).

Therefore, the mathematica model is given by,

. (1)

**The solution**

First we determine time at which the tank will be full. We use the following equation,

,

We solve for when the volume is 200 galon, then we obtain .

To solve the differential equation (1) we need the initial condition

as follow,

.

We are going to use Maple to solve the problem

` > model := diff(y(t),t) = 2.5 - (3*y(t))/(100+2*t); `

` > init := y(0)=0; `

` > dsolve({model,init}); `

We obtain the solution that is given by

When , the amount of salt inside the tank will be

.

thank you (:

thank you

pak itu ada yang salah loh kayanya…

model nya kok :

model := diff(y(t),t) = 2.5 + (3*y(t))/(100+2*t)

harusnya kan

model := diff(y(t),t) = 2.5 – (3*y(t))/(100+2*t)

pake minus bukan plus…

pak, model nya salah ya?

persamaan awal kan 2.5 – rate out trus yg di maple koq 2.5+rate out? yg bener yg mana?

Waduh… iya iya bener… sori sori yahhh

harusnya minusss… saya perbaiki d

thank you eric dan ella

done, it is fixed now.