# Assignment: Chemical Engineering Mathematics Submitted to: Sir Naveed Ramzan Submitted by: Tahir Mahmood (08-chem-16

)

The mixture is kept uniform by stirriring.fresh water runs into the tank at a rate of 5 gal/min. is Where V=100ft3 Solving analytically Ca=2.c) dcdt=[(-5/100)*c]. Find out the concentration of salt in that tank after 2hrs.file function dcdt=odefun(t. if the rate of flow of mixture from the tank is maintained at 5 gal/min.485x10-4lb/gal Solving by Mat lab M.Q#1 A tank contains 100 gallons of brine solution with concentration 0. after 2hr(120 min) . Solution: Applying the salt balance the differential eq.1lbsalt/gallon .

0.05 0. Almost drops to zero.In Command window >> [t.000274 0 20 40 60 80 100 120 As clear from graph after 120 mins conc.03 0.1).1 0.c]=ode45('odefun'.02 0.so further analysis is just wastage of time.07 0.04 0. >> plot(t.01 0 X: 118 Y: 0.08 0.09 0. .[0 120].06 0.c) 0.

c) dcdt=[(6-3*c)/(t+20)].Liquid flows out of the tank at a rate of 2 ft3/min.what is the salt concentration when the tank has 30ft3 of brine solution. Of 2 lb/ft3is fed into the tank at arate of 3 ft3/min.Q#2 A tank contain 20 ft3of water.c]=ode45('odefun'.407 lb/ft3 Using Mat-lab: function dcdt=odefun(t.if the tank is well agitated . .0).[0 10]. is Where limts of time are 0 to 10mins. A stream of brine solution containing a conc. >> [t. Analytical solution gives Ca=1. Solution: The corresponding differential eq.

407 1 concetration 0.min 6 7 8 9 10 As from graph the solution is same as we have get from analytically.c) 1. It is ¾ full of liquid to start with.5 0 0 1 2 3 4 5 time.5 X: 10 Y: 1.2x105 lb of organic compound in suspension .Water runs into the tank at a rate of 40000 gal/hr and solution leaves the tank at a rate of 30000 gal/hr.How much organic material left in the tank after 3 hr. .>> plot(t. It contains 1. Q#3: A plant have a big concrete holding tank of capacity 2x105 gallons.

c) dcdt=[(-40000/180000)*c]. >> [t. So Ca=0.8).c]=ode45('odefun'.Solution: The corresponding differential eqs. is Where time changes from 0 to 3 hrs.4107 lb/gal Using Mat-lab: function dcdt=odefun(t.0.c) . >>plot(t.[0 3].

A compressed air line that proceeds to the bottom of the tank used for the mixing of solution.4 concentration X: 3 Y: 0.Approximately at the same time leak develop near the bottom of the tank. .5 0.8 0. Air flows such a rate that water evaporates at a rate of 1lb/min.5 3 Q#4: A large wooden storage tank initially contains 1000 lb of 10%(wt) of Nacl solution .0. Solution leaves the tank at a rate of 1lb/min.4107 0 0.5 1 1.45 0. By accident one night air line is left open .75 0.7 0.5 time hr 2 2.65 0.6 0.55 0.

87%wt Using Mat-lab: function dcdt=odefun(t.c]=ode45('odefun'.10).c) . Analytical solution gives Ca=10. is Where time changes from 0 to 720 min. Solution : The corresponding differential eq.c) dcdt=[(1/8560)*c]. b) Concentration of soln.[0 720]. at the same time. >>plot(t.a) How much salt soln. left in the tank after 12 hrs. >>[t.

6 10.1 10 0 100 200 300 400 time.In order to extract or remove substance S from liquid B .11 10.4 10.pure A is then pumped into the tank at a rate of 25 lb/min and solution of S in A is removed from the tank such that amount of A remains constant.8 10.The system is allowed to come to equilibrium .7 X: 720 Y: 10.88 concentration 10.min 500 600 700 800 Q#5: A tank containing 2000lb of a liquid B with 1000lb of dissolved substance S with total weight of solution equals to 3000lb.Similarly amount of B remains 2000lb. S is soluble in both A & B . .3 10.but A is immiscible in B .1000lb of other liquid A is added into the tank.2 10.9 10.5 10.

03].c) .03 b)Amount of A required to reduced CB. And Amount of A required is =1000+2883x25=71087. is So Time will be t=2883 min. The equilibrium expression is CB/CA =0.t]=ode45('odefun'.08 where CA=lb of S/lb A.[. Solution: The corresponding differential eq. CB=lb of S/lb B a)Find out the total time required to reduced CB to0.Assume that two liquid phases are in equilibrium with each other.30 lb Using Mat-lab: function dtdc=odefun(c.t) dtdc=[(-2080/2)*(1/c)]. [c.0).48 0. plot(t.

and the heat input is adjusted so that the total moles of liquid in the still remains constant at 20.min 2000 2500 3000 Q#6: Consider the case of starting of the equilibrium still.It is desired to estimate the time required for the .15 0.32 mole fraction of benzene.1 0.35 concentration 0.05 0 X: 2884 Y: 0.5 0.2 0. Feed is supplied at a rate of 10 lb moles /hr.45 0.3 0.25 0.The still is purifying benzene and toluene from a small amount of essentially non volatile impurity and is initially charged with 20lb moles of feed stock of composition xf=0.03 0 500 1000 1500 time .4 0.0.

48xw/(1+1.21 for corresponding overhead composition.>>[x.58 hr.x) .21].1*x)].32 to 0. >>plot(t.32 0. Analytical solution gives T=1. Using Mat-lab: function dtdx=odefun(x.6*x)/(3.t]=ode45('odefun'.40 mole fraction of benzene. Solution: The corresponding differential equation is Where yd is given by Yd=2.48xw) Where xw is changing from 0.t) dtdx=[(20+29.[.composition of overhead product yD to fallto 0.0).220.

2 1.22 X: 1.kept uniform by mixing.8 time.2 0.32 0.28 mole fraction x 0.4 0.is run into the tank per minute.0. hr 1 1.21 0.what will be the exit brine concentration when the tank contains 150 ft3of brine? Solution: The corresponding differential eq.26 0.4 1.579 Y: 0.3 0.2 0 0.6 Q#7: A tank contains 100ft3 of fresh water. run out at rate of 1ft3/min. and the mixture . is .6 0.2 ft3 of brine .having concentration of 1pcf of salt .24 0.

1 0 0 5 10 15 20 25 30 time . >>[t.c) 0.[0 50]. >>plot(t.2 0.c) dcdt=[(2-2*c)/(t+100)].5 concentration 0.5556 0.Where t changes from 0 to 50 min.7 X: 50 Y: 0.4 0. So Ca=0.3 0.min 35 40 45 50 .6 0.0).571lb/ft3 Using Mat-lab: function dcdt=odefun(t.c]=ode45('odefun'.

the temperature of ball reduced to 700C.Find the time after which the temperature of ball reduced to 310C.T) .T) dTdt=[-k*(T-Ta)]. from Newton’s law of cooling is So value of k is 0.832min.3).[70 31].186 And then time is 22. Using Mat-lab: function dTdt=odefun(t. >> [T.It is placed in a water bath which is maintained at 300C. Solution: The corresponding differential eq.Q#8: A copper ball is heated to a temperature of 1000C at t=0.At the end of 3 min .t]=ode45('odefun'. >>plot(t.

min 15 20 25 .70 65 60 55 temperature 50 45 40 35 30 X: 22.83 Y: 31 0 5 10 time .

¾¾¯ f ½f¾ ¾f °  ¯ fn  @   ¯ ½ ¾¾°¾ .

\$.

    .

  \$  .

 \$   f%°  f¯    n .

  %¯°   n .

f f  °n°  n  °%n %  n % \$%&%\$n%  n   %  ° ½% n%   %  IÈ  .  °  @ n ¾½° °   °f  ¾   %I %  @¯   ¯° °  ¯°  ¾  +    D¾°.

  . 0397.94 3                 92 0 2 3     .     . 43.

°¾  nf¾ ¾f°   ¯¾ @  ¾¾½° ° ° f°  ° ¯f¾¯f f¯° ¾¾ °f°°f ¯½f° ¾°f nf  ¯ ¾ ¾nn¯½¾°   ¯ fn° ° °  ¾¾½½ ff f  ¯ ¾\$ f°   f°½¾f ©¾ ¾ f f¯ ¾ ° ¾ ¯f°¾n°¾f° f ¾ ¾  ¾¯f  ¯     .

f f  °n°    °% %   %+ &%\$%   &%    %  ° ½% %   %  È  .n¯½¾°  f ½ nf ¯  fn° ° °  °  @ n ¾½° °   °f f°¾  J   ¾ °    \$%+ % J  ¾nf°°¯  n ¾½° °   f n¯½¾°  °fnf¾° ¾ @    D¾°.

943                 92 0 7         ..    2 401 7.  f°n°f°¾ ¾f   °  f°n°n °f°½n¾f ¾°° f° ½ ¯° f°  ¯   ½°¯ ¯° ° ff \$¯° f    °  n°n °f° ° f°n°f°¾ ° " °  @ n ¾½° °   °f  ¾ I IÈ  .

J  nf° ¾¯¯°   .

f f  °n° n   °% n% n  % &n%\$%+%   n  %  °  %  ½% n%           .94 3           92 0 2 3      . 43. 0397.f   \$ D¾°.

.  n½½  f¾ f f ¯½ f .

f   ¾½fn °ff  fn¾¯f°f° f .

  ° ¯°   ¯½ f  f  n .

°  ¯ f n   ¯½ f  f n .

f f  °n° @   °% @% @  &%@ @f%  I{ È   @   %  °  %  ½% @% .  °  @ n ¾½° °   °f  ¯- °#¾f n°¾  { I f ¾  °  °¯ ¾ ¯°  D¾°.

9:70              92 0 2 3     .    90 2 507.