From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 249/CH5/EX5.1/5_01.sce | 25 +++++++++++++++++++++++++ 249/CH5/EX5.2/5_02.sce | 37 +++++++++++++++++++++++++++++++++++++ 249/CH5/EX5.3/5_03.sce | 18 ++++++++++++++++++ 249/CH5/EX5.4/5_04.sce | 14 ++++++++++++++ 249/CH5/EX5.5/5_05.sce | 17 +++++++++++++++++ 249/CH5/EX5.6/5_06.sce | 4 ++++ 6 files changed, 115 insertions(+) create mode 100755 249/CH5/EX5.1/5_01.sce create mode 100755 249/CH5/EX5.2/5_02.sce create mode 100755 249/CH5/EX5.3/5_03.sce create mode 100755 249/CH5/EX5.4/5_04.sce create mode 100755 249/CH5/EX5.5/5_05.sce create mode 100755 249/CH5/EX5.6/5_06.sce (limited to '249/CH5') diff --git a/249/CH5/EX5.1/5_01.sce b/249/CH5/EX5.1/5_01.sce new file mode 100755 index 000000000..2a11a606b --- /dev/null +++ b/249/CH5/EX5.1/5_01.sce @@ -0,0 +1,25 @@ +clear +clc +//Given +//Concentrations in mol/litre +CAo=0.1;CBo=0.01;Cco=0;CAf=0.02;CBf=0.03;Ccf=0.04; +//Volume in litre +V=1; +//Volumetric flow rate(l/min) +v=1; +//For mixed flow reactor +CA=CAf;CB=CBf;Cc=Ccf; +//Rate of reaction(mol/litre.min) +rA=(CAo-CA)/(V/v); +rB=(CBo-CB)/(V/v); +rc=(Cco-Cc)/(V/v); +printf("\nRESULT\n") +printf("rate of reaction of A(mol/litre.min) is %f\n",rA) +printf("\nrate of reaction of B(mol/litre.min) is %f\n",rB) +printf("\nrate of reaction of C(mol/litre.min) is %f\n",rc) + + + + + + diff --git a/249/CH5/EX5.2/5_02.sce b/249/CH5/EX5.2/5_02.sce new file mode 100755 index 000000000..0f9eb6da2 --- /dev/null +++ b/249/CH5/EX5.2/5_02.sce @@ -0,0 +1,37 @@ +clear +clc +//Given +//Volumetric flow rates(litre/hr) +vo=[10;3;1.2;0.5]; +//Concentrations (millimol/litre) +CA=[85.7;66.7;50;33.4]; +CAo=100; +//Volume(litre) +V=0.1; +//For the stoichiometry 2A-->R +//Expansion factor is +e=(1-2)/2; +//Initialization +XA=zeros(4,1); +rA=zeros(4,1); +//Relation between concentration and conversion +for i=1:4 +XA(i)=(1-CA(i)/CAo)/(1+e*CA(i)/CAo); +//Rate of reaction is given by +rA(i)=vo(i)*CAo*XA(i)/V; +//Testing nth order kinetics +//-rA=k*CA^n +//log(-rA)=logk+nlog(CA) +m(i)=log10(CA(i)); +n(i)=log10(rA(i)); +end +//For nth order plot between n & m should give a straight line +plot(m,n) +coefs=regress(m,n); +printf("Intercept of the graph is %f\n",coefs(1)) +printf("Slope of the graph is %f\n",coefs(2)) +k=10^coefs(1) +n=coefs(2) +printf("\n Taking n=2,rate of equation(millimol/litre.hr) is %f",k) +printf("CA^2 \n") +disp('The sol slightly differ from that given in book because regress fn is used to calculate the slope') \ No newline at end of file diff --git a/249/CH5/EX5.3/5_03.sce b/249/CH5/EX5.3/5_03.sce new file mode 100755 index 000000000..d2c67d8a7 --- /dev/null +++ b/249/CH5/EX5.3/5_03.sce @@ -0,0 +1,18 @@ +clear +clc +//Concentration(mol/litre) of components in the mixed feed stream is +CAo=1.4;CBo=0.8;CRo=0; +//Volume(litre) +V=6; +//For 75% conversion of B +//From stoichiometry of equation A+2B-->R +CA=1.4-(0.75*0.8)/2; +CB=0.8-(0.75*0.8); +CR=(0.75*0.8)/2; +//From the Given rate equation(mol/litre.min) +rB=2*(12.5*CA*CB*CB-1.5*CR); +//Volumetric flow rate is given by +v=V*rB/(CBo-CB); +printf("\n volumetric flow rate(litre/min) into and out of the reactor is %f \n",v) +disp('The sol varies from book as the value of CB taken in book at end is wrong') + diff --git a/249/CH5/EX5.4/5_04.sce b/249/CH5/EX5.4/5_04.sce new file mode 100755 index 000000000..dda8acc7c --- /dev/null +++ b/249/CH5/EX5.4/5_04.sce @@ -0,0 +1,14 @@ +clear +clc +//With 50% inert 2 vol of feed would give 4 vol of completely converted gas +//Expansion factor is +eA=(4-2)/2; +//Initial concentration of A(mol/litre) +CAo=0.0625; +//For 80% conversion +xAo=0;xAf=0.8;k=0.01; +//For plug flow space time(t) is given by +//t=CAo*integral(dxA/-rA) +X=integrate('sqrt((1+xA)/(1-xA))','xA',xAo,xAf); +t=sqrt(CAo)*X/k; +printf("\n Space time(sec) needed is %f \n",t) \ No newline at end of file diff --git a/249/CH5/EX5.5/5_05.sce b/249/CH5/EX5.5/5_05.sce new file mode 100755 index 000000000..dc73a5216 --- /dev/null +++ b/249/CH5/EX5.5/5_05.sce @@ -0,0 +1,17 @@ +clear +clc +//Given +//Temperature(kelvin) +T=922; +//Pressure(Pascal) +P=460000; +//Let A=PH3,R=P4,S=H2 +FAo=40;//mol/hr +k=10;//(/hr) +R=8.314; +CAo=P/(R*T);// mol/m3 +e=(7-4)/4; +XA=0.8; +//The volume of plug flow reactor is given by +V=FAo*[(1+e)*log(1/(1-XA))-e*XA]/(k*CAo); +printf("\n volume(m3) of reactor is %f \n",V) \ No newline at end of file diff --git a/249/CH5/EX5.6/5_06.sce b/249/CH5/EX5.6/5_06.sce new file mode 100755 index 000000000..2a35eb2ee --- /dev/null +++ b/249/CH5/EX5.6/5_06.sce @@ -0,0 +1,4 @@ +clear +clc +//This is a theorotical Qn +printf("Its a theorotical Question") \ No newline at end of file -- cgit