summaryrefslogtreecommitdiff
path: root/479/CH14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /479/CH14
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '479/CH14')
-rwxr-xr-x479/CH14/EX14.1/Example_14_1.sce17
-rwxr-xr-x479/CH14/EX14.10/Example_14_10.sce49
-rwxr-xr-x479/CH14/EX14.11/Example_14_11.sce30
-rwxr-xr-x479/CH14/EX14.12/Example_14_12.sce37
-rwxr-xr-x479/CH14/EX14.13/Example_14_13.sce47
-rwxr-xr-x479/CH14/EX14.13/Example_14_13.txt4
-rwxr-xr-x479/CH14/EX14.14/Example_14_14.sce11
-rwxr-xr-x479/CH14/EX14.15/Example_14_15.sce27
-rwxr-xr-x479/CH14/EX14.2/Example_14_2.sce19
-rwxr-xr-x479/CH14/EX14.3/Example_14_3.sce51
-rwxr-xr-x479/CH14/EX14.4/Example_14_4.sce47
-rwxr-xr-x479/CH14/EX14.4/Example_14_4.txt3
-rwxr-xr-x479/CH14/EX14.5/Example_14_5.sce29
-rwxr-xr-x479/CH14/EX14.6/Example_14_6.sce63
-rwxr-xr-x479/CH14/EX14.7/Example_14_7.sce140
-rwxr-xr-x479/CH14/EX14.8/Example_14_8.sce11
-rwxr-xr-x479/CH14/EX14.9/Example_14_9.sce57
17 files changed, 642 insertions, 0 deletions
diff --git a/479/CH14/EX14.1/Example_14_1.sce b/479/CH14/EX14.1/Example_14_1.sce
new file mode 100755
index 000000000..fa2d933eb
--- /dev/null
+++ b/479/CH14/EX14.1/Example_14_1.sce
@@ -0,0 +1,17 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.1
+clear;
+clc;
+
+//Given
+H_f_C2H4 = 12500;//Standard heat of formation of ethylene at 25 deg cel in Kcal/Kgmole
+H_f_C2H4O = -11667;//Standard heat of formation of ethylene oxide at 25 deg cel in Kcal/Kgmole
+
+//To Calculate the standard heats of reaction at 25 deg celsius
+//The reaction is: C2H4 + (1/2)O2 - C2H4O
+del_H_rxn = H_f_C2H4O-H_f_C2H4;//Since, Standard heat of formation of O2 is zero
+mprintf('The standard heats of reaction at 25 deg celsius is %d Kcal/Kgmole',del_H_rxn);
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.10/Example_14_10.sce b/479/CH14/EX14.10/Example_14_10.sce
new file mode 100755
index 000000000..f2d9716eb
--- /dev/null
+++ b/479/CH14/EX14.10/Example_14_10.sce
@@ -0,0 +1,49 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.10
+clear;
+clc;
+
+//Given
+//SO2(A) + (1/2)O2 (B) - SO3(C)
+//Basis: 1 Kgmole SO2
+n_A = 1;//Kgmole of SO2 fed
+n_B = n_A;//Kgmole of O2 fed
+T1 = 273+400;//Temperature in K at which reactants enter
+To = 298;//room temperature in K
+del_H = -23490;//Standar heat of reaction at 25 deg cel from example 14.6 in Kcal/Kgmole
+
+//At T1,
+C_A_T1 = 11.0; C_B_T1 = 7.4;//in Kcal/Kgmole
+//Assume the various temperature be
+T = [913 1073 1373 1573];//in K
+//Mean specific heats of the components A,B & C at various temperature are given below in Kcal/Kgmole K
+C_A = [11.6 11.8 12.3 12.5];
+C_B = [7.7 7.8 8.0 8.2];
+C_C = [ 16.6 17.2 18.2 18.6];
+
+//To Calculate the final temperature for various conversions and the maximum conversion that can be attained in a single reactor operating adiabatically
+//In equation 14.18 (page no 307), H2-Hr = K & (Hp-H3)= L(say)
+K = ((n_A*C_A_T1)+(n_B*C_B_T1))*(To-T1);//in Kcal/Kgmole
+mprintf('Adiabatic reaction temp in K pecentage conversion of SO2');
+for i = 1:4
+ n_C(i) = (-K-(C_A(i)*(T(i)-To))-(C_B(i)*(T(i)-To)))/((T(i)-To)*(C_C(i)-C_A(i)-0.5*C_B(i))+del_H);
+mprintf('\n %d',T(i));
+mprintf(' %f',n_C(i)*100);
+end
+
+clf;
+//plot(T,n_C*100);
+plot2d(T,n_C*100,style =2);
+//Now equilibrium conversion at various temperature taken from figure 14.7 (page no 325) are given as
+Ta = [850 900 1000 1100 1200 1300 1400];
+n_C1 = [93.5 88.2 69.0 49.0 37.0 21.5 6.25];
+plot2d(Ta,n_C1,style=3);
+xtitle("Temperature vs Percentage Conversion","Temperature in K","% Conversion");
+//From the graph,it can be seen that the curve cut each other approximately at the temp
+T1 = 1140;//in Kelvin
+C = interpln([Ta;n_C1],T1);
+mprintf('\n\n The maximum conversion that can be attained is %d percent',C);
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.11/Example_14_11.sce b/479/CH14/EX14.11/Example_14_11.sce
new file mode 100755
index 000000000..f16386146
--- /dev/null
+++ b/479/CH14/EX14.11/Example_14_11.sce
@@ -0,0 +1,30 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.11
+clear;
+clc;
+
+//Given
+//Basis: 1 Kgmole of benzene
+//C6H6 (A) + HNO3 (B) - C6H5NO2 (C) + H2O (D)
+T = 298;//Temperature in K
+R = 1.98;//gas constant in Kcal/Kgmole K
+//Standard enthalpy in Kcal/Kgmole at 25 deg celsius of the above components are given as
+H_A = 11718;
+H_B = -41404;
+H_C = -68371;
+H_D = 3800;
+//Standard entropy in Kcal/Kgmole K at 25 deg celsius of the above components are given as
+S_A = 41.30;
+S_B = 37.19;
+S_C = 16.72;
+S_D = 53.60;
+
+//To Calculate the conversion of benzene at 25 degree celsius and 1 atm
+del_F = (H_C+H_D-(T*(S_C+S_D)))-(H_A+H_B-(T*(S_A+S_B)));
+Ka = %e^(-del_F/(R*T));//Equilibrium constant
+x = (Ka^(1/2)/(1+(Ka^(1/2))));
+mprintf('The conversion is almost %f percent for this reaction.',x*100);
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.12/Example_14_12.sce b/479/CH14/EX14.12/Example_14_12.sce
new file mode 100755
index 000000000..da72bbb33
--- /dev/null
+++ b/479/CH14/EX14.12/Example_14_12.sce
@@ -0,0 +1,37 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.12
+clear;
+clc;
+
+//Given
+//C + 2H2 - CH4
+//Basis: 1 Kgmole of C fed
+T = 1000;//Temperature in K
+P1 = 2;//Pressure in atm
+del_F = 4580;//Standard free energy in Kcal/Kgmole
+
+
+//To Calculate the maximum CH4 concentration under the condition of 2 atm and the quantity of methane obtained if pressure is 1 atm
+Ka = %e^(-del_F/(R*T));//Equilibrium constant
+//In relation (d) (page no 339) p_H2 = p (say)
+p = poly(0,'p');
+q = Ka*(p^2)+p-P1;
+r = roots(q);
+p_H2 = r(2);//partial pressure of H2
+p_CH4 = P1-p_H2;//partial pressure of CH4
+X_H2 = p_H2*100/P1;//mole percent of H2
+X_CH4 = p_CH4*100/P1;//mole percent of CH4
+mprintf('Under the conditions of 2 atm and 1000 K,the maximum CH4 concentration is %f percent and further increase is not pssible',X_CH4);
+//Now.pressure has become
+P2 = 1;//in atm
+q = Ka*(p^2)+p-P2;
+r = roots(q);
+p_H2 = r(2);//partial pressure of H2
+p_CH4 = P2-p_H2;//partial pressure of CH4
+X_H2 = p_H2*100/P2;//mole percent of H2
+X_CH4 = p_CH4*100/P2;//mole percent of CH4
+mprintf('\n\n Under the conditions of 1 atm and 1000 K,Methane = %f percent and Hydrogen = %f percent',X_CH4,X_H2);
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.13/Example_14_13.sce b/479/CH14/EX14.13/Example_14_13.sce
new file mode 100755
index 000000000..f728cb876
--- /dev/null
+++ b/479/CH14/EX14.13/Example_14_13.sce
@@ -0,0 +1,47 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.13
+clear;
+clc;
+
+//Given
+T1 = 273+110;//Temperature in K
+T = 298;//Room temperature in K
+P = 1;//Pressure in atm
+R = 1.98;//gas constant in Kcal/Kgmole
+//Ag2CO3(s) (A) = Ag2O(s) (B) + CO2(g) (C)
+a = 1;//Stoichiometry coefficient of A
+b = 1;//Stoichiometry coefficient of B
+c = 1;//Stoichiometry coefficient of C
+//Standard entropy of the above components in Kcal/Kgmole K at 25 deg cel are given as
+S_A = 40.17;
+S_B = 29.09;
+S_C = 51.08;
+//Standard enthalpy of the above components in Kcal/Kgmole at 25 deg cel are given as
+H_A = -119900;
+H_B = -6950;
+H_C = -94036;
+//Specific heat (assumed constant) of the above components in Kcal/Kgmole K are given as
+C_A = 26.1;
+C_B = 16.5;
+C_C = 9.6;
+
+//To Calculate the partial pressure of CO2 required for decomposition and thus determine whether Ag2CO3 will decomposes or not at the given pressure and temperature
+del_H = H_C+H_B-H_A;//Standard heat of reaction at 25 deg cel in Kcal/Kgmole
+del_C = b*C_B+c*C_C-a*C_A;
+//From equation 14.15 (page no 340)
+del_Ht = del_H +del_C*(T1-T);
+del_F = del_H-(T*(S_B+S_C-S_A));//Standard free energy in Kcal/Kgmole
+Ka1 = %e^(-del_F/(R*T));//Equilibrium constant at temperature T
+//Since del_Ht is constant(as del_C = 0),Ka2 can be calculated by equation 14.43 (page no 316)
+Ka2 = Ka1* %e^((del_Ht/R)*(1/T1-1/T));
+p_CO2 = Ka2;
+mprintf('The partial pressure of CO2 required for decomposition is %4.3e atm',p_CO2);
+if p_CO2 < P
+ mprintf('\n Silver carbonate will not decompose at 110 deg celsius as the pressure given is 1 atm');
+else
+ mprintf('\n Silver carbonate will decompose at 110 deg celsius');
+end
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.13/Example_14_13.txt b/479/CH14/EX14.13/Example_14_13.txt
new file mode 100755
index 000000000..b6ffe1ee8
--- /dev/null
+++ b/479/CH14/EX14.13/Example_14_13.txt
@@ -0,0 +1,4 @@
+For example 14.13,
+the answer given in the book is partial pressure of CO2 as 0.0012
+But,I am getting partial pressure of CO2 as 5.787e-009 atm.
+There might be some calculation mistake in the book. \ No newline at end of file
diff --git a/479/CH14/EX14.14/Example_14_14.sce b/479/CH14/EX14.14/Example_14_14.sce
new file mode 100755
index 000000000..7aa02282a
--- /dev/null
+++ b/479/CH14/EX14.14/Example_14_14.sce
@@ -0,0 +1,11 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.14
+clear;
+clc;
+
+//Given
+//The given example is an theoretical problem and it does not involve any numerical computation.
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.15/Example_14_15.sce b/479/CH14/EX14.15/Example_14_15.sce
new file mode 100755
index 000000000..7335a10be
--- /dev/null
+++ b/479/CH14/EX14.15/Example_14_15.sce
@@ -0,0 +1,27 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.15
+clear;
+clc;
+
+//Given
+//C3H8 = C3H6 + H2... (i)
+//C3H8 = C2H4 +CH4...(ii)
+Kp1 = 7.88;//Equilibrium constant of equation (i)
+Kp2 = 775;//Equilibrium constant of equation (ii)
+T = 760+273;//Temperature in K
+
+//To Calculate the equilibrium composition of the mixture
+//Basis: 1 mole of C3H8 in feed
+//From the equations (a) &(b) (page no 343); y/x = z (say)
+z = (Kp2/Kp1)^(1/2);
+//Substituting y = z*x in equation(a), we got the equation p:
+x = poly(0,'x')
+p = (1+Kp1+Kp1*(z^2)+2*Kp1)*x^2 - Kp1;
+q = roots(p);
+x = q(1);
+y = z*x;
+mprintf('Moles of H2, C3H6, C2H4 and CH4 formed at equilibrium are %f %f %f %f respectively.',x,x,y,y);
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.2/Example_14_2.sce b/479/CH14/EX14.2/Example_14_2.sce
new file mode 100755
index 000000000..3dd420bff
--- /dev/null
+++ b/479/CH14/EX14.2/Example_14_2.sce
@@ -0,0 +1,19 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.2
+clear;
+clc;
+
+//Given
+T1 = 25+273;//Initial temperature in K
+T2 = 450+273;//Final temperature in K
+//Specific heat of sulphur dioxide is given by the relation:
+//Cp = 7.116+9.512*10^-3*T+(3.511*10^-6)*T^2
+
+//To Calculate the sensible heat required
+//Basis: 1 Kgmole of sulphur dioxide
+Q = 7.116*(T2-T1)+(9.512*10^-3*(T2^2-T1^2)/2)+((3.51*10^-6)*(T2^3-T1^3)/3);
+mprintf('Sensible heat required is %d Kcal/Kgmole',Q);
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.3/Example_14_3.sce b/479/CH14/EX14.3/Example_14_3.sce
new file mode 100755
index 000000000..71bb32ae9
--- /dev/null
+++ b/479/CH14/EX14.3/Example_14_3.sce
@@ -0,0 +1,51 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.3
+clear;
+clc;
+
+//Given
+H_C2H4 = 12500;//Standard heat of formation of ethylene at 25 de cel
+H_C2H4O = -12190;//Standard heat of formation of ethylene oxide at 25 deg cel
+H_CO2 = -94052;//Standard heat of formation of CO2 at 25 deg cel
+H_H2O = -57798;//Standard heat of formation of H2O at 25 deg cel
+T1 = 200;//temperature at which mixture entered in deg cel
+Ti = 25;//intermediate temperature in deg cel
+T2 = 260;//product temperature in deg cel
+Cp_air_a = 7;//Mean specific heat for 25 to 200 deg cel in Kcal/Kgmole
+Cp_C2H4_a = 18;//Mean specific heat for 25 to 200 deg cel in Kcal/Kgmole
+//Mean specific heat for 25 to 260 deg cel in Kcal/Kgmole are given as:
+Cp_C2H4_b = 19;
+Cp_C2H4O_b = 21;
+Cp_O2_b = 7.30;
+Cp_N2_b = 7.00;
+Cp_CO2_b = 10.00;
+Cp_H2O_b = 8.25;
+//Basis: 1 Kgmole of ethylene as feed
+n_air = 9;//Kgmoles
+n_C2H4 =1;//Kgmoles
+n_C2H4_1 = 0.6//ethylene consumed while converting in C2H4O in Kgmoles (Rxn 1)
+n_C2H4_2 = 0.3;//ethylene burnt completely to CO2 in Kgmoles (Rxn 2)
+
+//To Calculate the heat must be removed if the product temperature should not exceed 260 deg cel
+n_O2 = n_air*0.21;//Kgmoles of O2 fed
+n_N2 = n_air-n_O2;//Kgmoles of N2 fed
+//Rxn 1: (0.6)C2H4 + (0.3)O2 - (0.6)C2H4O;...(i) 60% of C2H4 is converted to C2H4O
+n_O2_1 = n_C2H4_1/2;//Kgmoles of oxygen consumed
+n_C2H4O_1 = n_C2H4_1;//C2H4O formed in Kgmoles
+//Rxn 2: (0.3)C2H4 + (0.9)O2 - (0.6)CO2+ (0.6)H20;...(ii) 30%conversion
+n_O2_2 = 3*n_C2H4_2;//Kgmoles of O2 reacted
+n_CO2_2 = 2*n_C2H4_2;//Kgmoles of CO2 formed
+n_H2O_2 = 2*n_C2H4_2;//Kgmoles of H2O formed
+n_C2H4_r = n_C2H4 - n_C2H4_1 - n_C2H4_2;//unreacted ethylene in Kgmoles
+n_O2_r = n_O2 - n_O2_1-n_O2_2;//unreacted O2 in Kgmoles
+//The overall rxn is given by (i)&(ii),
+//(0.9)C2H4 + (1.2)O2 - (0.6)C2H4O + (0.6)CO2 + (0.6)H2O...(iii)
+del_H = (0.6*H_C2H4O)+(0.6*H_CO2)+(0.6*H_H2O)-(0.9*H_C2H4);//since,standard enthalpy of O2 is zero; Standard heat of rxn in Kcal/Kgmole
+Q1 = (n_C2H4*Cp_C2H4_a + n_air*Cp_air_a)*(Ti-T1);//Sensible heat in feed in Kcal
+Q2 = (n_C2H4_r*Cp_C2H4_b + n_C2H4O_1*Cp_C2H4O_b + n_CO2_2*Cp_CO2_b + n_H2O_2*Cp_H2O_b + n_O2_r*Cp_O2_b + n_N2*Cp_N2_b)*(T2-Ti);//Sensible heat in product in Kcal
+Q = Q1+Q2+del_H;
+mprintf('The heat to be removed is %f Kcal so that the product temperature is 260 deg celsius',-Q);
+//end
diff --git a/479/CH14/EX14.4/Example_14_4.sce b/479/CH14/EX14.4/Example_14_4.sce
new file mode 100755
index 000000000..883ee4d45
--- /dev/null
+++ b/479/CH14/EX14.4/Example_14_4.sce
@@ -0,0 +1,47 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.4
+clear;
+clc;
+
+//Given
+//Basis: 1Kgmole of C0
+//CO + (1/2)O2 - CO2
+//Whem mixture entered,their compositions are given as:
+n_CO = 1;//Kgmole
+del_H = -67636;//Standard heat of reaction in Kcal/Kgmole at 25 deg cel
+T1 = 95;//Temperature at which mixture entered in deg celsius
+T2 = 25;//Intermediate temperature in deg celsius
+//Mean specific heat values for the temperature between 25 and 95 deg celsius in Kcal/Kgmole are given as (from figure 14.4)(page no 303)
+Cpm_CO = 6.95;
+Cpm_O2 = 7.1;
+Cpm_N2 = 6.95;
+
+//To Calculate the theoretical flame temperature when both air and CO2 enter at 95 deg celsius
+n_O2 = 1;//Kgmole, as 100% excess air is given
+n_N2 = n_O2*(0.79/0.21);//Kgmole
+//After the rxn:
+n_CO2 = n_CO;//Kgmole
+n_O2_r = n_O2-(n_CO/2);//remaining Kgmole of O2
+//In equation 14.18 (page no 307) say: H_2-H_R = Ha, H_P-H_3 = Hb, Hc = del_H+Ha & Ht = Hc+Hb
+Ha = (n_CO*Cpm_CO + n_O2*Cpm_O2 + n_N2*Cpm_N2)*(T2-T1);//in Kcal/Kgmole
+Hc = del_H+Ha;//in Kcal/Kgmole
+//For calculating Hb let us assume the temperature as
+T = [530 1000 1650];//in deg celsius
+Cpm_CO2 = [10.85 12 12.75];//Mean specific heat of CO2 at the coresspondig temperature (from figure 14.4)
+Cpm_O2 = [7.55 7.8 8.3];//Mean specific heat of O2 at the coresspondig temperature (from figure 14.4)
+Cpm_N2 = [7.15 7.5 7.85];//Mean specific heat of N2 at the coresspondig temperature (from figure 14.4)
+for i = 1:3
+ Hb(i) = (n_CO2*Cpm_CO2(i)+n_O2_r*Cpm_O2(i)+n_N2*Cpm_N2(i))*(T(i)-T2);//in Kcal/Kgmole
+ Ht(i) = Hc+Hb(i);//in Kcal/Kgmole
+end
+clf;
+plot(T,Ht);
+xtitle(" ","Temperature, deg celsius","Ht in Kcal/Kgmole");
+a = get("current_axes");
+set(a,"x_location","origin");
+Tf = interpln([Ht';T],0);
+mprintf('The adiabatic temperature is read as %d degree celsius',Tf);
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.4/Example_14_4.txt b/479/CH14/EX14.4/Example_14_4.txt
new file mode 100755
index 000000000..c590523d9
--- /dev/null
+++ b/479/CH14/EX14.4/Example_14_4.txt
@@ -0,0 +1,3 @@
+For example 14.4,the answer given in the book is temperature as 1610 degree celsius.
+ But i am getting temperature as 1560 degree celsius.
+ There might be some calculation mistake in the book. \ No newline at end of file
diff --git a/479/CH14/EX14.5/Example_14_5.sce b/479/CH14/EX14.5/Example_14_5.sce
new file mode 100755
index 000000000..3a2d45ea5
--- /dev/null
+++ b/479/CH14/EX14.5/Example_14_5.sce
@@ -0,0 +1,29 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.5
+clear;
+clc;
+
+//Given
+T = 298;//Temperature in Kelvin
+//Standard enthalpy in Kcal/Kgmole of the following components at 298 K are given as
+H_SO2 = -70960;
+H_SO3 = -94450;
+H_O2 = 0;
+//Standard entropy in Kcal/Kgmole K of the following components at 298 K are given as
+S_SO2 = 2.48;
+S_SO3 = -19.7
+S_O2 = 0;
+//Basis: 1 Kgmole of SO2
+//SO2 +(1/2)O2 - SO3
+
+//To Calculate the standard free energy for the reaction
+n_SO2 = 1;//Kgmole of SO2 fed
+n_O2 = (1/2)*2;//Kgmole of O2 fed as 100% excess O2 is given
+n_SO3 = n_SO2;//Kgmole of SO3 formed
+//From equation 14.38 (page no 312)
+del_F = (H_SO3-(T*S_SO3))-(H_SO2-(T*S_SO2))-(H_O2-(T*S_O2));
+mprintf('The standard free energy for the reaction at 25 degree celsius is %f Kcal/Kgmole',del_F);
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.6/Example_14_6.sce b/479/CH14/EX14.6/Example_14_6.sce
new file mode 100755
index 000000000..e81c94b47
--- /dev/null
+++ b/479/CH14/EX14.6/Example_14_6.sce
@@ -0,0 +1,63 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.6
+clear;
+clc;
+
+//Given
+//SO2 + (1/2)O2 - SO3
+//Basis: 1 Kgmole of SO2
+n_SO2 = 1;// SO2 fed in Kgmole
+//From table 14.1 (page no 301)
+//alpha values for the following components are given as
+a_SO2 = 7.116;
+a_O2 = 6.148;
+a_SO3 = 6.077;
+//beta values for the following components are given as
+b_SO2 = 9.512*10^-3;
+b_O2 = 3.102*10^-3;
+b_SO3 = 25.537*10^-3;
+//Standard enthalpy of the following components at 25 deg cel in Kcal/Kgmole are given as
+H_SO2 -70960;
+H_O2 = 0;
+H_SO3 = -94450;
+//Standard free energy of the following components at 25 deg cel in Kcal/Kgmole K are given as
+F_SO2 = -71680;
+F_O2 = 0;
+F_SO3 = -88590;
+n_O2 = n_SO2;//O2 fed in Kgmole; since 50 mole percent mixture of SO2 & O2 is fed
+n_SO3 = n_SO2;//SO3 formed in Kgmole
+n_O2_e = n_O2-(n_O2/2);//Kgmoles of O2 in exit gas
+n_O2_r = n_O2/2;//Kgmoles of O2 reacted
+R = 1.98;//gas constant in Kcal/Kgmole K
+
+//To show the variation of the standard heats of reaction with temperature and the equilibrium constant with temperature graphically in the given temperature range
+//(i)Variation of the standard heats of reaction with temperature
+del_H = (n_SO3*H_SO3)-(n_O2_r*H_O2)-(n_SO2*H_SO2);// in Kcal/Kgmole
+del_F = (n_SO3*F_SO3)-(n_O2_r*F_O2)-(n_SO2*F_SO2);// in Kcal/Kgmole
+//From equation 14.10 (page no 301)
+del_a = (n_SO3*a_SO3)-(n_O2_r*a_O2)-(n_SO2*a_SO2);
+del_b = (n_SO3*b_SO3)-(n_O2_r*b_O2)-(n_SO2*b_SO2);
+//In equation 14.11 (page no 302), substituting del_H at
+T = 298;//in deg cel
+I = del_H - del_a*T - (del_b*(T^2)/2);// integrating constant
+mprintf('(i)The standard heat of reaction at any tempperature can be calculated by the relation:');
+mprintf('\n del_Ht = %fT + %fT^2 %f',del_a,del_b/2,I);
+
+//(ii)Variation of the equilibrium constant with temperature
+//K1 = lnKa (say)
+K1 = -del_F/(R*T);
+//From equation 14.42 (page no 316); M1 = M/R (say)
+M1 = K1-(del_a/R)*log(T)-(del_b/(2*R))*T+(I/(T*R));
+//Let us assume the temperature in the range 800K to 1500K as
+Ta = [700 800 825 850 900 1000 1100 1300 1500];
+for i = 1:9
+ Ka(i) = %e^((del_a/R)*log(Ta(i))+(del_b*Ta(i)/(2*R))-(I/(Ta(i)*R))+M1);
+end
+clf;
+plot(Ta,Ka);
+xtitle(" ","Temperature in K","equilibrium constant K");
+mprintf('\n\n(ii)From the graph it can be seen that as temperature increases Ka decreases exponentially,so the reaction is exothermic.');
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.7/Example_14_7.sce b/479/CH14/EX14.7/Example_14_7.sce
new file mode 100755
index 000000000..f7ce60dcd
--- /dev/null
+++ b/479/CH14/EX14.7/Example_14_7.sce
@@ -0,0 +1,140 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.7
+clear;
+clc;
+
+//Given
+//SO2 + (1/2)O2 - SO3
+//Basis: 1 Kgmole of SO2
+n_SO2 = 1;// SO2 fed in Kgmole
+n_O2 = n_SO2;//O2 fed in kgmole
+
+//To Calculate the conversion of SO2 to SO3 at 1atm and at various temperature
+//(1)Calculate the conversion of SO2 to SO3
+P = 1;//Pressure in atm
+T = 850;//Temperature in K
+m = 1-1-(1/2);
+//From example 14.6
+Ta = [700 800 825 850 900 1000 1100 1300 1500];
+Ka = [395.40 52.51 34.60 23.44 11.59 3.527 1.48 0.398 0.0016];
+clf;
+xset('window',2);
+plot2d(Ta,Ka,style=3);
+xtitle("Equilibrium constant vs Temperature","Temperature in K","Ka");
+Ka1 = interpln([Ta;Ka],850);
+//Let Nc be the moles of SO3 at equilibrium
+Nc = [0.1 0.2 0.3 0.4 0.5 0.7 0.8 0.9 0.930 0.95 0.98 0.988 0.989 0.9895 0.9897 0.9899 0.9900];
+//From equation 14.49 (page no 320) and using the given data ,we got equation (b) (page no 323)
+for i = 1:17
+ Ka(i) = (((n_SO2+n_O2-0.5*Nc(i))/(n_O2-0.5*Nc(i)))^(1/2))*(Nc(i)/(n_SO2-Nc(i)));
+end
+xset('window',1);
+plot2d(Nc,Ka,style=2);
+xtitle("Equilibrium constant vs Kgmoles of SO3","Kg moles of SO3","Ka");
+Nc1 = interpln([Ka;Nc],Ka1);
+C = Nc1*100/n_SO2;
+mprintf('(1)The conversion of SO2 to SO3 at 1atm and 850K is %f percent',C);
+
+//(2)Calculation of conversion at 1 atm and 850 K under the following conditions
+//(i) Given:
+n_N2 = 3.75;//Kgmoles of N2 fed
+//Let Nc be the moles of SO3 at equilibrium
+Nc = [0.85 0.87 0.90];
+//From equation 14.49 (page no 320) and using the given data ,we got equation (c) (page no 324)
+for i = 1:3
+ Ka2(i) = (((+n_N2+n_SO2+n_O2-0.5*Nc(i))/(n_O2-0.5*Nc(i)))^(1/2))*(Nc(i)/(n_SO2-Nc(i)));
+end
+xset('window',1);
+plot2d(Nc,Ka2,style=5);
+Nc2 = interpln([Ka2';Nc],Ka1);
+C2 = Nc2*100/n_SO2;
+mprintf('\n\n (2)(i)The conversion of SO2 to SO3 at 1 atm and 850 K when inert gas is also added is %f percent',C2);
+
+//(ii)SO3 is also sent along the original feed
+n_SO3 = 1;//Kgmoles of SO3 fed
+//Let Nc be the moles of SO3 at equilibrium
+Nc = [0.80 0.86 0.92];
+//From equation 14.49 (page no 320) and using the given data ,we got equation (d) (page no 326)
+for i = 1:3
+ Ka3(i) = (((+n_SO3+n_SO2+n_O2-0.5*Nc(i))/(n_O2-0.5*Nc(i)))^(1/2))*((n_SO3+Nc(i))/(n_SO2-Nc(i)));
+end
+xset('window',1);
+plot2d(Nc,Ka3,style=6);
+Nc3 = interpln([Ka3';Nc],Ka1);
+C3 = Nc3*100/n_SO2;
+mprintf('\n (ii)The conversion of SO2 to SO3 at 1 atm and 850 K when SO3 is also added along the original feed is %f percent',C3);
+
+//(iii)Variation of SO2 to O2 ratio:
+//(a)SO2:O2 = 1:1 ; This has been worked out in part 1
+mprintf('\n (iii)(a)The conversion of SO2 to SO3 at 1atm and 850K when SO2:O2 = 1:1 is %f percent',C);
+Xc = Nc1/(n_SO2+n_O2-0.5*Nc1);
+
+//(b)SO2:O2 = 1.1:0.5,Now
+n_SO2 = 1.1;//Kgmoles of SO2 fed
+n_O2 = 0.5;//Kgmoles of O2 fed
+//Let Nc be the moles of SO3 at equilibrium
+Nc = [0.9 0.91 0.92];
+//From equation 14.49 (page no 320) and using the given data ,we got equation (e) (page no 327)
+for i = 1:3
+ Ka4(i) = (((n_SO2+n_O2-0.5*Nc(i))/(n_O2-0.5*Nc(i)))^(1/2))*(Nc(i)/(n_SO2-Nc(i)));
+end
+xset('window',1);
+plot2d(Nc,Ka4,style=1);
+Nc4 = interpln([Ka4';Nc],Ka1);
+C4 = Nc4*100/n_SO2;
+mprintf('\n (iii)(b)The conversion of SO2 to SO3 at 1atm and 850K when SO2:O2 = 1.1:0.5 is %f percent',C4);
+Xc1 = Nc4/(n_SO2+n_O2-0.5*Nc4);
+
+//(c)SO2:O2 = 1:0.5
+n_SO2 = 1;//Kgmoles of SO2 fed
+n_O2 = 0.5;//Kgmoles of O2 fed
+//Let Nc be the moles of SO3 at equilibrium
+Nc = [0.8 0.85 0.86 0.87];
+//From equation (a)
+for i = 1:4
+ Ka5(i) = (((n_SO2+n_O2-0.5*Nc(i))/(n_O2-0.5*Nc(i)))^(1/2))*(Nc(i)/(n_SO2-Nc(i)));
+end
+xset('window',1);
+plot2d(Nc,Ka5,style=4);
+Nc5 = interpln([Ka5';Nc],Ka1);
+C5 = Nc5*100/n_SO2;
+mprintf('\n (iii)(c)The conversion of SO2 to SO3 at 1atm and 850K when SO2:O2 = 1:0.5 is %f percent',C5);
+Xc2 = Nc5/(n_SO2+n_O2-0.5*Nc5);
+
+if(Xc2>Xc) and (Xc2>Xc1)
+ mprintf('\n SO2:O2 = 1:0.5 gives the maximum concentration of SO3 at equilibrium.');
+else
+ if(Xc1>Xc) and (Xc1>Xc2)
+ mprintf('\n SO2:O2 = 1.1:0.5 gives the maximum concentration of SO3 at equilibrium');
+ else
+ if(Xc>Xc1) and (Xc>Xc2)
+ mprintf('\n SO2:O2 = 1:1 gives the maximum concentration of SO3 at equilibrium');
+ end
+ end
+end
+
+//(3)Conversion of SO2 to SO3 at 50 atm and 850 K when SO2:O2 = 1:1
+n_SO2 = 1;//Kgmole of SO2 fed
+n_O2 = 1;//Kgmoles of O2 fed
+P = 50;//Pressure in atm
+//From figure A.2.9
+phi_SO2 = 0.99;
+phi_SO3 = 0.972;
+phi_O2 = 1;
+//From equation 14.48 (page no320), Ka = Ky*(P^m)*K_phi
+K_phi = phi_SO3/(phi_SO2*(phi_O2^2));
+//Let Nc be the moles of SO3 at equilibrium
+Nc = [0.99 0.985 0.97 0.96];
+for i = 1:4
+ Ka6(i) = K_phi*(P^m)*((((n_SO2+n_O2-0.5*Nc(i))/(n_O2-0.5*Nc(i)))^(1/2))*(Nc(i)/(n_SO2-Nc(i))));
+end
+xset('window',1);
+plot2d(Nc,Ka6,style=3);
+Nc6 = interpln([Ka6';Nc],Ka1);
+C = Nc6*100/n_SO2;
+mprintf('\n\n (3)The conversion of SO2 to SO3 at 50atm and 850K when SO2:O2 = 1:1 is %f percent',C);
+legend("1 part","2.(i) part","2.(ii)part","2.(iii).(b)part","2.(iii).(c)part","3 part");
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.8/Example_14_8.sce b/479/CH14/EX14.8/Example_14_8.sce
new file mode 100755
index 000000000..b162663c5
--- /dev/null
+++ b/479/CH14/EX14.8/Example_14_8.sce
@@ -0,0 +1,11 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.8
+clear;
+clc;
+
+//Given
+//The given example is a theoretical problem and it does not involve any numerical computation.
+//end \ No newline at end of file
diff --git a/479/CH14/EX14.9/Example_14_9.sce b/479/CH14/EX14.9/Example_14_9.sce
new file mode 100755
index 000000000..5021dade5
--- /dev/null
+++ b/479/CH14/EX14.9/Example_14_9.sce
@@ -0,0 +1,57 @@
+//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.9
+clear;
+clc;
+
+//Given
+//2A(g) - B(g)+C(g)
+T = 400;//Temperature in Kelvin
+P = 1;//Pressure in atm
+R = 1.98;//gas constant in Kcal/Kgmole K
+del_Fo = 3000;//Standard free energy of the reaction in Kcal/Kgmole
+n_A = 1;//Kgmoles of A
+n_B = 0.1;//Kgmoles of B
+n_C = 0.1;//Kgmoles of C
+
+//To find out the equilibrium has been attained or not. If not then calculate the equilibrium composition and also find out whether the equilibrium composition will change or not if pressure were increased to 3 atm.
+//(1)To find out the equilibrium has been attained or not. If not then calculate the equilibrium composition
+//P_B/P_C = 1 (Given)
+n_T = n_A+n_B+n_C;//Total Kgmoles of the component
+p_A = (n_A/n_T)*P;//Partial pressure of A
+p_B = (n_B/n_T)*P;//Partial pressure of B
+p_C = (n_C/n_T)*P;//Partial pressure of C
+//Using the relation 14.36 (page no 312)
+del_F = del_Fo + (R*T)*log((p_B*p_C)/(p_A^2));
+if del_F == 0;
+ then mprintf('1.Equilibrium has been attained.');
+else
+ mprintf('1.Equilibrium has not been attained.');
+end
+//Equilibrium composition
+//At equilibrium del_F = 0
+//From equations 14.35(page no 312) and 14.49(page no 320), we got the relations (a),(b)(page no 331) &(c)(page no 332) and
+//ln(p_C^2/(P-(2*p_C^2)))= -del_Fo/(R*T);
+Kp = %e^(-del_Fo/(R*T))//equilibrium constant in terms of pressure
+p_C = (Kp^(1/2))/(1+2*(Kp^(1/2)));//Partial pressure of C at equilibrium in atm
+p_B = p_C;//as p_B/p_C = 1
+p_A = P-(2*p_C);//Partial pressure of A at equilibrium in atm
+N_A = p_A*P*100;
+N_B = p_B*P*100;
+N_C = p_C*P*100;
+mprintf('\n Equilibrium composition of A,B and C are %f,%f and %f mole percent respectively.',N_A,N_B,N_C);
+
+//2.Calculation of composition at 400 K and 3 atm and vapour pressure of C at 400 K is 0.3 atm
+P = 3;//Pressure in atm
+P_C = 0.3;//Vapour pressure of C in atm
+//Since m=0,pressure will not have an effect on equilibrium compositions.
+mprintf('\n\n 2.The compositions will be the same as above on increasing the pressure.');
+p_B1 = p_B*P;//Partial pressure of B in atm
+p_C1 = p_B1;//Partial pressure of C in atm
+p_A1 = p_A*P;//Partial pressure of A in atm
+if P_C < p_C1
+p_A2 = ((p_B1*P_C)/Kp)^(1/2);//decreased partial pressure of A in atm
+mprintf('\n The partial pressure of A drops from %f to %f to compensate for the amount of C condensed.',p_A1,p_A2);
+//end