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/CH7/EX7.1/7_01.sce | 4 ++++ 249/CH7/EX7.2/7_02.sce | 33 +++++++++++++++++++++++++++++++++ 249/CH7/EX7.3/7_03.sce | 28 ++++++++++++++++++++++++++++ 249/CH7/EX7.4/7_04.sce | 13 +++++++++++++ 4 files changed, 78 insertions(+) create mode 100755 249/CH7/EX7.1/7_01.sce create mode 100755 249/CH7/EX7.2/7_02.sce create mode 100755 249/CH7/EX7.3/7_03.sce create mode 100755 249/CH7/EX7.4/7_04.sce (limited to '249/CH7') diff --git a/249/CH7/EX7.1/7_01.sce b/249/CH7/EX7.1/7_01.sce new file mode 100755 index 000000000..1551ebddb --- /dev/null +++ b/249/CH7/EX7.1/7_01.sce @@ -0,0 +1,4 @@ +clear +clc +//Theorotical Questions +printf("Its a theorotical Question") \ No newline at end of file diff --git a/249/CH7/EX7.2/7_02.sce b/249/CH7/EX7.2/7_02.sce new file mode 100755 index 000000000..95d7ea47e --- /dev/null +++ b/249/CH7/EX7.2/7_02.sce @@ -0,0 +1,33 @@ +clear +clc +//Initial Concentration(mol/litre)eactant in combined feed +CAo=10;CBo=10; +//For 90% Conversion +XA=0.9; +CAf=CAo*(1-XA); +//Instantaneous fractional yield of desired compound is +//Q(R/A)=dCR/(dCR+dCS)=CA/(CA+CB^1.5) +//But CA=CB so Q(R/A)=CA/(CA+CA^1.5) +//For Plug Flow +//Overall Fractional Yield(Qp)is +CA=CAf; +Qp=(-1/(CAo-CAf))*integrate('1/(1+CA^0.5)','CA',CAo,CAf); +CRf=9*Qp; +printf("\n Part a") +printf("\n For Plug Flow") +printf("\n Concentration of R(mol/litre) in the product stream is %f \n",CRf) +//Mixed Flow +//Overall Fractional Yield(Qm)is +Qm=CA/(CA+CA^1.5); +CRf=9*Qm; +printf("\n Part b") +printf("\n For Mixed Flow") +printf("\n Concentration of R(mol/litre) in the product stream is %f \n",CRf) +//Plug flow A,Mixed flow B +CAo=19;CB=1; +Q=-1/(CAo-CAf)*integrate('CA/(CA+CB^1.5)','CA',CAo,CAf); +CRf=9*Q; +printf("\n Part c") +printf("\n For Plug flow A,Mixed flow B") +printf("\n Concentration of R(mol/litre) in the product stream is %f \n",CRf) +disp('The result for plug flow varies as there seems to be typographical error in integration done in book') \ No newline at end of file diff --git a/249/CH7/EX7.3/7_03.sce b/249/CH7/EX7.3/7_03.sce new file mode 100755 index 000000000..b404c196e --- /dev/null +++ b/249/CH7/EX7.3/7_03.sce @@ -0,0 +1,28 @@ +clear +clc +CAo=2; +//Since S is the desired Product +//Q(S/A)=2CA/(1+CA)^2 +//Part a +//Csf=(CAo-CA)*2*CA/(1+CA)^2 +//on differentiating this to get max Csf,we get max value at +CA=0.5; +Csf=(CAo-CA)*2*CA/(1+CA)^2; +printf("\n Part a") +printf("\n For Mixed Flow Reactor") +printf("\n Maximum expected Cs is %f",Csf) +//For Plug Flow Reactor +//Production of s is max at 100% Conversion of A +CAf=0; +Csf=-1*integrate('2*CA/(1+CA)^2','CA',CAo,CAf); +printf("\n Part b") +printf("\n For Plug Flow") +printf("\n Maximum expected concentration of S is %f \n",Csf) +//Part C +//Since no reactant leaves the system unconverted,what is important is to operate at condition of highest fractional yield +//ie. at CA=1 where Q(S/A)=0.5 +CA=1; +Csf=(CAo-CA)*2*CA/(1+CA)^2; +printf("Part c") +printf("\n For MFR with separation and recycle" ) +printf("\n Concentration of Csf is %f",Csf) \ No newline at end of file diff --git a/249/CH7/EX7.4/7_04.sce b/249/CH7/EX7.4/7_04.sce new file mode 100755 index 000000000..35b037ce8 --- /dev/null +++ b/249/CH7/EX7.4/7_04.sce @@ -0,0 +1,13 @@ +clear +clc +//Mixed flow followed by plug flow would be best +//From ex 7.3 +//For mixed flow +CAo=2;CA=1;Q=0.5; +Cs1=Q*(CAo-CA); +//For plug flow +Cs2=-1*integrate('2*CA/(1+CA)^2','CA',1,0); +//Total amount of CS formed is +Cs=Cs1+Cs2; +printf("Mixed flow followed by plug flow would be best") +printf("\n Total amount of CS formed(mol/litre) is %f \n",Cs) \ No newline at end of file -- cgit