Differential Equation mixing problem

jordan123
Messages
15
Reaction score
0
Differential Equation mixing problem!

Homework Statement


A vat with 500 gallons of beer contains 4% alcohol (by volume). Beer with 6% alcohol is pumped into the vat at a rate of 5 gal/min and the mixture is pumped out at the same rate. What is the percentage of alcohol after an hour?

The Attempt at a Solution



This is what I've been doing.

dA/dt = inflow - out flow
= (.06)(5) - (A/500)(5)
= .3 - (A/100)
= (30 - A)/100

etc but I feel I must be setting it up wrong or something ?? But it never gets the correct answer which is.

4.9%

If anyone can point out what's up that would be much appreciated!
 
Physics news on Phys.org


Your solution never uses the "4% alcohol (by volume)." initial condition. Doesn't that make you feel uncomfortable? Must it not make a difference? If the initial value were 6% then nothing would ever change.
 


Dick said:
Your solution never uses the "4% alcohol (by volume)." initial condition. Doesn't that make you feel uncomfortable? Must it not make a difference? If the initial value were 6% then nothing would ever change.

Well yes, id use the initial condition after I have done the differential equation.

So,

-ln |30 - A | = t/100 + C

then put in initial condition. Solve for c = -ln10 (because 4% of 500 is 20)

No? Its not working for me, eeek
 


It looks like it's working fine to me. Now solve for A. Why do you think it's not working? Show the rest. What are you putting in for t? What are you getting for A? What's that in terms of percentages?
 


make sure when you do e^(-ln|30-A|) you get 1/(30-A), everything else is right
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top