Classic watertank equation

  • Thread starter cpx
  • Start date
  • #1
cpx
4
0
[SOLVED] Classic watertank equation

I'm having trouble with a variant of the classic watertank equation. The data is as follows.
A tank contains 300 liters of saline water, containing a total of 1800 grams of salt. Through an inlet, saline water containing 5 grams/liter is pumped in at a speed of 2 liters/minute. The well-mixed solution is pumped out at a speed of 3 liters/minute. Compute the quantity of salt, in grams, after 100 minutes.

Here's my attempt at solving this:
[tex]
V(t)=300-t
[/tex]

[tex]
\frac{dS}{dt}=10t-3\frac{S}{V}
[/tex]

[tex]
S(0)=1800
[/tex]

Running it in the ODE Analyzer in MAPLE got me [tex]S(100)\approx33867[/tex], which isn't the solution. Can anyone spot what I've done wrong?
 

Answers and Replies

  • #2
Dick
Science Advisor
Homework Helper
26,263
621
I don't see anything wrong with the setup. On the other hand if I integrate it I don't get 33867. Check your MAPLE setup. What are you supposed to get?
 
  • #3
Vid
402
0
Is it supposed to be 1089? I think the rate in should be just 10 and not 10t.
 
  • #4
Dick
Science Advisor
Homework Helper
26,263
621
Is it supposed to be 1089? I think the rate in should be just 10 and not 10t.

Ooops. That's correct. I missed that! No wonder I didn't get 33867.
 
  • #5
cpx
4
0
Ah! Of course it should be just 10. I'm also getting 1089 now.

Unfortunately though, this doesn't seem to be the correct answer either. I don't have access to the correct solution; the task is available in a web form and it only returns whether the solution is correct or not. So either there's something else we've all missed, or the task is misformulated or the stored solution incorrect :frown:

In any case, thanks for the help! :)
 
  • #6
Vid
402
0
Well, the exact solution is 1088.89 or at least that's what mathematica tells me. A lot of web based assignments are finicky about these things.
 
  • #7
Dick
Science Advisor
Homework Helper
26,263
621
Well, the exact solution is 1088.89 or at least that's what mathematica tells me. A lot of web based assignments are finicky about these things.

I didn't use numerics and got 9800/9. Where you supposed to approximate it? You can do it exactly.
 
  • #8
cpx
4
0
Nope. It's supposed to be rounded to the nearest integer..
 
  • #9
HallsofIvy
Science Advisor
Homework Helper
43,021
971
I'm having trouble with a variant of the classic watertank equation. The data is as follows.
A tank contains 300 liters of saline water, containing a total of 1800 grams of salt. Through an inlet, saline water containing 5 grams/liter is pumped in at a speed of 2 liters/minute. The well-mixed solution is pumped out at a speed of 3 liters/minute. Compute the quantity of salt, in grams, after 100 minutes.

Here's my attempt at solving this:
[tex]
V(t)=300-t
[/tex]

[tex]
\frac{dS}{dt}=10t-3\frac{S}{V}
[/tex]
Through the inlet, 10 grams of salt is coming in each minute. That first term should be "10" not "10t".

[tex]
S(0)=1800
[/tex]

Running it in the ODE Analyzer in MAPLE got me [tex]S(100)\approx33867[/tex], which isn't the solution. Can anyone spot what I've done wrong?
 
  • #10
cpx
4
0
It turned out the web assignment had the wrong answer stored. It's fixed now and the solution [tex]S(100)\approx1089[/tex] is correct. Thanks for the help! :)
 

Suggested for: Classic watertank equation

Replies
6
Views
181
Replies
17
Views
447
Replies
9
Views
368
Replies
7
Views
210
  • Last Post
Replies
7
Views
459
Replies
2
Views
168
Replies
8
Views
157
  • Last Post
Replies
3
Views
332
Replies
3
Views
418
Top