Question

n Consider a 400/of a tank that initially contains a mixture of water and SO ke of salt. The water containing a salt concentr

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The detailed solution is given below.

clear; clc; 1 2 3 4 5 6 r = 3; % [1/sec] SO = input(Enter the intial amount of salt, so [kg]: ); sl so/2; 7 8 s = @(t) si +

clear;
clc;

r = 3; % [l/sec]
SO = input('Enter the intial amount of salt, SO [kg]: ');
Sl = SO/2;

S = @(t) Sl + (SO - Sl)*exp(-r.*t/100);

t = 0:0.1:180;
St = S(t);

figure(1)
hold on
plot([0 180], [SO SO],'b-.','Linewidth',2,'DisplayName','Initial Amount of Salt')
plot([0 180], [Sl Sl],'k-.','Linewidth',2,'DisplayName','Limiting Salt')

plot(t,St,'r-','Linewidth',2,'DisplayName','S(t)')
xlabel('Time [s]')
ylabel('Amount of Salt [kg]')
grid on
legend show

Enter the intial amount of salt, so [kg]: 10 >> |

10 -Initial Amount of Salt Limiting Salt -S(t) 9.5 9 00 Amount of Salt [kg] Сл 6.5 5.5 5 0 20 40 60 120 140 160 180 80 100 Ti

Please rate the solution if found satisfactory.

Add a comment
Know the answer?
Add Answer to:
n Consider a 400/of a tank that initially contains a mixture of water and SO ke...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT