summaryrefslogtreecommitdiff
path: root/611/CH4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /611/CH4
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 '611/CH4')
-rwxr-xr-x611/CH4/EX4.1/Chap4_Ex1_R1.sce26
-rwxr-xr-x611/CH4/EX4.10/Chap4_Ex10_R1.sce37
-rwxr-xr-x611/CH4/EX4.11/Chap4_Ex11_R1.sce27
-rwxr-xr-x611/CH4/EX4.12/Chap4_Ex12_R1.sce32
-rwxr-xr-x611/CH4/EX4.13/Chap4_Ex13_R1.sce32
-rwxr-xr-x611/CH4/EX4.14/Chap4_Ex14_R1.sce47
-rwxr-xr-x611/CH4/EX4.15/Chap4_Ex15_R1.sce37
-rwxr-xr-x611/CH4/EX4.16/Chap4_Ex16_R1.sce40
-rwxr-xr-x611/CH4/EX4.17/Chap4_Ex17_R1.sce32
-rwxr-xr-x611/CH4/EX4.18/Chap4_Ex18_R1.sce25
-rwxr-xr-x611/CH4/EX4.20/Chap4_Ex20_R1.sce20
-rwxr-xr-x611/CH4/EX4.22/Chap4_Ex22_R1.sce28
-rwxr-xr-x611/CH4/EX4.23/Chap4_Ex23_R1.sce42
-rwxr-xr-x611/CH4/EX4.24/Chap4_Ex24_R1.sce30
-rwxr-xr-x611/CH4/EX4.25/Chap4_Ex25_R1.sce31
-rwxr-xr-x611/CH4/EX4.26/Chap4_Ex26.sce54
-rwxr-xr-x611/CH4/EX4.28/Chap4_Ex28.sce61
-rwxr-xr-x611/CH4/EX4.29/Chap4_Ex29_R1.sce72
-rwxr-xr-x611/CH4/EX4.3/Chap4_Ex3_R1.sce35
-rwxr-xr-x611/CH4/EX4.4/Chap4_Ex4_R1.sce40
-rwxr-xr-x611/CH4/EX4.5/Chap4_Ex5_R1.sce41
-rwxr-xr-x611/CH4/EX4.6/Chap4_Ex6_R1.sce43
-rwxr-xr-x611/CH4/EX4.7/Chap4_Ex7_R1.sce25
-rwxr-xr-x611/CH4/EX4.8/Chap4_Ex8_R1.sce23
-rwxr-xr-x611/CH4/EX4.9/Chap4_Ex9_R1.sce25
25 files changed, 905 insertions, 0 deletions
diff --git a/611/CH4/EX4.1/Chap4_Ex1_R1.sce b/611/CH4/EX4.1/Chap4_Ex1_R1.sce
new file mode 100755
index 000000000..25c3ac6ff
--- /dev/null
+++ b/611/CH4/EX4.1/Chap4_Ex1_R1.sce
@@ -0,0 +1,26 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 1,Page 94
+//Title:Net work done by the system
+//================================================================================================================
+clear
+clc
+
+//INPUT
+Q1=50;//Energy added as heat in kJ when the system undergoes a process 1-2
+W1=30;//Work done by the system in kJ during the process 1-2
+Q2=-40;//Energy rejected as heat in kJ during the process 2-3
+W2=-50;//Work done on the system in kJ during the process 2-3
+Q3=0;//System undergoes an adiabatic process to return to initial state
+
+//CALCULATION
+U2_1=Q1-W1;//calculation of net change in energy in kJ during process 1-2 using Eq.(4.5)
+U3_2=Q2-W2;//calculation of net change in energy in kJ during process 2-3 using Eq.(4.5)
+U1_3=(-U2_1)-(U3_2);//calculation of net change in energy in kJ during process 3-1 using Eq.(4.5)
+W3=Q3-U1_3;//calculation of work by the system in kJ using Eq.(4.5)
+net_work=W1+W2+W3;//calculation of net work done in kJ
+
+//OUTPUT
+mprintf('\n The net work done by the system= %d kJ\n',net_work);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.10/Chap4_Ex10_R1.sce b/611/CH4/EX4.10/Chap4_Ex10_R1.sce
new file mode 100755
index 000000000..465c5ce82
--- /dev/null
+++ b/611/CH4/EX4.10/Chap4_Ex10_R1.sce
@@ -0,0 +1,37 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 10,Page 105
+//Title:Final temperature
+//================================================================================================================
+clear
+clc
+
+//INPUT
+N=100;//number of moles of carbon dioxide in mol
+T1=298;//initial temperature in K
+Q=1;//energy added as heat in MJ
+a=45.369;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+b=8.688*10^-3;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+e=-9.619*10^5;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+//Where Cp is in J/molK
+
+//CALCULATION
+delh=Q*10^6/N;//calculation of enthalpy in J
+Tguess=520;//The final temperature guess value in K used for solving the system of equations
+//The system of equations are defined by :
+//T2=T1+(delh/Cpm)--->A
+//Cpm=a+(b*Tm)+(e/T1T2)--->B
+Cpm_guess=a+(b*((T1+Tguess)/2))+(e/(T1*Tguess));//calculation of Cpm guess (in J/molK) to be used to determine T2 from Equation A
+T2_guess=T1+(delh/Cpm_guess);//calculation of T2 using Equation A (in K) based on the value of Cpm guess computed using Equation B
+tolerance=1e-6;//defining the tolerance limit to obtain convergence
+while abs(T2_guess-Tguess)>tolerance
+ Tguess=T2_guess;
+ Cpm_guess=a+(b*((T1+Tguess)/2))+(e/(T1*Tguess));
+ T2_guess=T1+(delh/Cpm_guess);//the iteration process to solve the system of equations
+end
+T2=T2_guess;//value of the final temperature of CO2 obtained upon solving the system of equations(A and B) in K
+
+//OUTPUT
+mprintf('\n The final temperature= %0.1f K\n',T2);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.11/Chap4_Ex11_R1.sce b/611/CH4/EX4.11/Chap4_Ex11_R1.sce
new file mode 100755
index 000000000..4502883b9
--- /dev/null
+++ b/611/CH4/EX4.11/Chap4_Ex11_R1.sce
@@ -0,0 +1,27 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 11,Page 107
+//Title:Final temperature,Pressure and work done in adiabatic process
+//================================================================================================================
+clear
+clc
+
+//INPUT
+volume_ratio=1/15;//final volume to the initial volume of air at the end of compression stroke (no unit)
+gaamma=1.4;//ratio of the molar heat capacities at constant pressure and constant volume for air (no unit)
+T1=300;//initial temperature of air in K
+P1=0.1;//initial pressure of air in MPa
+R=8.314;//universal gas constant in J/molK
+
+//CALCULATION
+T2=T1*((1/volume_ratio)^(gaamma-1));//calculation of final temperature in K using Eq.(4.32)
+P2=P1*((1/volume_ratio)^(gaamma));//calculation of final pressure in MPa using Eq.(4.34)
+W=(R*(T1-T2)*10^-3)/(gaamma-1);//calculation of work to be done on the system in kJ/mol using Eq.(4.31)
+
+//OUTPUT
+mprintf('\n The final temperature= %0.2f K\n',T2);
+mprintf('\n The final pressure= %0.4f MPa\n',P2);
+mprintf('\n Work done per mole of air= %0.3f kJ/mol\n',W);
+
+//===============================================END OF PROGRAM===================================================
+
diff --git a/611/CH4/EX4.12/Chap4_Ex12_R1.sce b/611/CH4/EX4.12/Chap4_Ex12_R1.sce
new file mode 100755
index 000000000..b4d226f8e
--- /dev/null
+++ b/611/CH4/EX4.12/Chap4_Ex12_R1.sce
@@ -0,0 +1,32 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 12,Page 110
+//Title:Final temperature Pressure work done and heat interaction in polytropic process
+//================================================================================================================
+clear
+clc
+
+//INPUT
+volume_ratio=1/15;//final volume to the initial volume of ideal gas at the end of compression (no unit)
+T1=300;//initial temperature of ideal gas in K
+P1=0.1;//initial pressure of ideal gas in MPa
+R=8.314;//universal gas constant in J/molK
+n=1.2;//index of expansion (no unit)
+gaamma=1.4;//ratio of the molar heat capacities at constant pressure and constant volume for ideal gas (no unit)
+
+//CALCULATION
+P2=P1*((1/volume_ratio)^n);//calculation of final pressure in MPa using Eq.(4.37)
+T2=T1*(P2/P1)*(volume_ratio);//calculation of final temperature in K (since the gas is taken to be ideal, (P1*V1)/T1=(P2*V2)/T2))
+W=(R*(T1-T2)*10^-3)/(n-1);//calculation of work to be done on the system in kJ/mol using Eq.(4.38)
+del_u=(R*(T2-T1)*10^-3)/(gaamma-1);//calculation of the change in the internal energy in kJ/mol using Eq.(4.28 and 4.29) (del_u=Cv*(T2-T1) and Cv=R/(gaamma-1))
+q=del_u+W;//calculation of the heat interaction during the process in kJ/mol using the first law of thermodynamics
+
+//OUTPUT
+mprintf('\n The final pressure= %0.3f MPa\n',P2);
+mprintf('\n The final temperature= %0.1f K\n',T2);
+mprintf('\n Work done on the gas= %f kJ/mol\n',W);
+mprintf('\n Heat interaction during the process= %f kJ/mol\n',q);
+
+//===============================================END OF PROGRAM===================================================
+
+
diff --git a/611/CH4/EX4.13/Chap4_Ex13_R1.sce b/611/CH4/EX4.13/Chap4_Ex13_R1.sce
new file mode 100755
index 000000000..b2a219109
--- /dev/null
+++ b/611/CH4/EX4.13/Chap4_Ex13_R1.sce
@@ -0,0 +1,32 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 13,Page 112
+//Title:Final temperature and amount of gas entering the tank
+//================================================================================================================
+clear
+clc
+
+//INPUT
+V=1;//volume of tank in m^3
+T0=300;//initial temperature of ideal gas in K
+P0=0.1;//initial pressure of ideal gas in MPa
+T=500;//temperature of ideal gas in the pipeline in K
+P=3;//pressure of ideal gas in the pipeline in MPa
+R=8.314;//universal gas constant in J/molK
+gaamma=1.4;//ratio of the molar heat capacities at constant pressure and constant volume for ideal gas (no unit)
+
+//CALCULATION
+Pf=3;//final pressure reached in the tank in MPa
+//calculation of final temperature of the gas in the tank in K using Eq.(4.44) (and applying u=Cv*T, h=Cp*T and N=P*V/R*T as the gas is taken to be ideal)
+Tf=(Pf*10^6)/((((Pf*10^6)-(P0*10^6))/(gaamma*T))+((P0*10^6)/T0));
+//calculation of the moles of ideal gas entering into the tank using Eq.(4.44) (and applying u=Cv*T, h=Cp*T and N=P*V/R*T as the gas is taken to be ideal)
+N=(V/R)*(((Pf*10^6)/Tf)-((P0*10^6)/T0));
+
+//OUTPUT
+mprintf('\n The final temperature= %0.1f K\n',Tf);
+mprintf('\n The amount of gas that has entered the tank= %0.2f mol\n',N);
+
+//===============================================END OF PROGRAM===================================================
+
+
+
diff --git a/611/CH4/EX4.14/Chap4_Ex14_R1.sce b/611/CH4/EX4.14/Chap4_Ex14_R1.sce
new file mode 100755
index 000000000..6193e7134
--- /dev/null
+++ b/611/CH4/EX4.14/Chap4_Ex14_R1.sce
@@ -0,0 +1,47 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 14,Page 113
+//Title:Final state and mass of steam that entered the tank
+//================================================================================================================
+clear
+clc
+
+//INPUT
+V=3;//volume of tank in m^3
+T0=100;//initial temperature of steam in degree celsius
+T=300;//temperature of superheated steam in the pipeline in degree celsius
+P=3;//pressure of superheated steam in the pipeline in MPa
+R=8.314;//universal gas constant in J/molK
+
+//CALCULATION
+Ps=101.33;//pressure of saturated steam in kPa from steam tables corresponding to T0
+vg=1.673;//specific volume of saturated vapour in m^3/kg obtained from steam tables corresponding to T0
+hg=2676.0;//specific enthalpy of saturated vapour in kJ/kg obtained from steam tables corresponding to T0
+h=2995.1;//specific enthalpy of superheated steam in kJ/kg obtained from superheated steam tables corresponding to T and P
+u0=((hg*10^3)-(Ps*10^3*vg))*10^-3;//calculation of initial internal energy of steam in kJ/mol using the first law of thermodynamics for the adiabatic charging of a tank
+m0=V/vg;//calculation of mass of steam initially in the tank in kg
+//The first law of thermodynamics for the adiabatic charging of a tank is given by:
+//mfuf-m0u0=(mf-m0)h. This equation is to be solved to determine mf
+
+Tf=418;// assuming final temperature of superheated steam in degree celsius
+//For superheated steam at P and Tf
+vf=0.102329;//specific volume of superheated steam in m^3/kg
+uf=2965.78;//internal energy of the superheated steam in kJ/kg
+
+mf_guess=V/vf;//taking a guess value for the mass of steam inside the tank at the end of the charging operation,in kg
+
+function[fn]=solver_func(ui)
+//Function defined for solving the system to determine the internal energy of steam inside the tank at the end of the charging operation in kJ/kg using Eq.(4.44, where Q=0 as the process is adiabatic)
+ fn=(mf_guess*ui)-(m0*u0)-((mf_guess-m0)*h);
+endfunction
+[uf_solved]=fsolve(mf_guess,solver_func,1e-6)//using inbuilt function fsolve for solving the system of equations
+mf=mf_guess//mass of the steam inside the tank at the end of the charging operation, in kg
+mass=mf-m0;//calculation of mass of steam that entered the tank in kg
+
+//OUTPUT
+mprintf("\n The final state of steam(superheated),Pressure=%d MPa\n",P);
+mprintf("\n The final state of steam(superheated),Temperature=%d degree celsius\n",Tf);
+mprintf("\n The mass of steam that entered the tank=%0.3f kg\n",mass);
+
+//===============================================END OF PROGRAM===================================================
+
diff --git a/611/CH4/EX4.15/Chap4_Ex15_R1.sce b/611/CH4/EX4.15/Chap4_Ex15_R1.sce
new file mode 100755
index 000000000..d90e03327
--- /dev/null
+++ b/611/CH4/EX4.15/Chap4_Ex15_R1.sce
@@ -0,0 +1,37 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 15,Page 115
+//Title:Final temperature and amount of gas escaping the cylinder
+//================================================================================================================
+clear
+clc
+
+//INPUT
+V=0.1;//volume of cylinder in m^3
+T0=300;//initial temperature of nitrogen in K
+P0=14;//initial pressure of nitrogen in MPa
+P=0.1;//ambient pressure in MPa
+Pf=2;//final pressure of nitrogen in MPa
+R=8.314;//universal gas constant in J/molK
+gaamma=1.4;//ratio of the molar heat capacities at constant pressure and constant volume for nitrogen (no unit)
+
+//CALCULATION
+//calculation of final temperature of the gas in the tank in K using Eq.(4.51) (and applying u=Cv*T, h=Cp*T and N=P*V/R*T as the gas is taken to be ideal)
+function[fn]=solver_func(Ti)
+ //Function defined for solving the system to determine the final temperature
+ fn=((P0*10^6)-(Pf*10^6))-((gaamma/2)*(T0+Ti)*(((P0*10^6)/T0)-((Pf*10^6)/Ti)));
+endfunction
+Tguess=300;//The final temperature guess value in K used for solving the system of equations
+[Tf]=fsolve(Tguess,solver_func,1e-6)//using inbuilt function fsolve for solving the system of equations
+
+//calculation of the moles of nitrogen escaping from the tank using Eq.(4.51) (and applying u=Cv*T, h=Cp*T and N=P*V/R*T as the gas is taken to be ideal)
+N=(V/R)*(((P0*10^6)/T0)-((Pf*10^6)/Tf));
+
+//OUTPUT
+mprintf('\n The final temperature= %0.1f K\n',Tf);
+mprintf('\n The amount of gas that has escaped from the cylinder= %0.2f mol\n',N);
+
+//===============================================END OF PROGRAM===================================================
+
+
+
diff --git a/611/CH4/EX4.16/Chap4_Ex16_R1.sce b/611/CH4/EX4.16/Chap4_Ex16_R1.sce
new file mode 100755
index 000000000..e4844eabb
--- /dev/null
+++ b/611/CH4/EX4.16/Chap4_Ex16_R1.sce
@@ -0,0 +1,40 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 16,Page 118
+//Title:Percentage error
+//================================================================================================================
+clear
+clc
+
+//INPUT
+T0=300;//initial temperature of superheated steam in degree celsius
+P0=3;//initial pressure of superheated steam in MPa
+Xe=0.85;//quality of steam leaving the turbine (no unit)
+Tf=45;//final temperature of steam leaving the turbine in degree celsius
+Vi=10;//velocity of steam at the entrance in m/s
+Ve=40;//exit velocity of steam in m/s
+Zi=10;//elevation at the entrance in m
+Ze=4;//elevation at the exit in m
+m=1;//mass flow rate of steam through turbine in kg/s
+g=9.81;//accleration due to gravity in m/s^2
+
+//CALCULATION
+hi=2995.1;//specific enthalpy of superheated steam in kJ/kg obtained from superheated steam tables corresponding to T0 and P0
+hf=188.35;//specific enthalpy of saturated liquid in kJ/kg obtained from steam tables corresponding to Tf
+hg=2583.3;//specific enthalpy of saturated vapour in kJ/kg obtained from steam tables corresponding to Tf
+he=((1-Xe)*hf)+(Xe*hg);//calculation of specific enthalpy of steam at the exit in kJ/kg using Eq.(3.6)
+Q=0;//adiabatic process
+enthalpy_change=(he*10^3)-(hi*10^3);//calculation of the enthalpy change between the entrance and exit in J/kg
+KE_change=((Ve^2)-(Vi^2))/2;//calculation of the kinetic energy change between the entrance and exit in J/kg
+PE_change=g*(Ze-Zi);//calculation of the potential energy change between the entrance and exit in J/kg
+Ws=Q-(m*(enthalpy_change+KE_change+PE_change)*10^-3);//calculation of power output in kW using Eq.(4.61)
+err_KE=((KE_change)/(Ws*10^3))*100;//calculation of percentage error when kinetic energy change is ignored
+err_PE=((abs (PE_change)/(Ws*10^3)))*100;//calculation of percentage error when potential energy change is ignored
+err=err_KE+err_PE;//calculation of percentage error when both potential kinetic energy changes are ignored
+
+//OUTPUT
+mprintf('\n The percentage error when Kinetic energy change is ignored= %0.3f \n',err_KE);
+mprintf('\n The percentage error when Potential energy change is ignored= %0.4f \n',err_PE);
+mprintf('\n The percentage error when both Kinetic and Potential energy changes are ignored= %f \n',err);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.17/Chap4_Ex17_R1.sce b/611/CH4/EX4.17/Chap4_Ex17_R1.sce
new file mode 100755
index 000000000..1a07029ae
--- /dev/null
+++ b/611/CH4/EX4.17/Chap4_Ex17_R1.sce
@@ -0,0 +1,32 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 17,Page 119
+//Title:Exit velocity
+//================================================================================================================
+clear
+clc
+
+//INPUT
+Pi=5;//pressure of dry saturated steam at the entrance in bar
+Pe=2;//pressure of dry saturated steam at the exit in bar
+Vi=3;//velocity of dry saturated steam at the entrance in m/s
+m=1;//flow rate of steam through the nozzle in kg/s
+g=9.81;//acceleration due to gravity in m/s^2
+
+//CALCULATION
+hi=2747.5;//specific enthalpy in kJ/kg of the dry saturated steam at the entrance taken from steam tables corresponding to Pi
+he=2706.3;//specific enthalpy in kJ/kg of the dry saturated steam at the exit taken from steam tables corresponding to Pe
+ve=0.8854;//specific volume in m^3/kg of the dry saturated steam at the exit taken from steam tables corresponding to Pe
+Zi=0;//assuming that the nozzle is horizontal
+Ze=0;//assuming that the nozzle is horizontal
+Q=0;//adiabatic process
+Ws=0;//since no shaft work is done
+Ve=sqrt (2*(((Q-Ws)/m)-(g*(Zi-Ze))-((he*10^3)-(hi*10^3)))+(Vi^2));//calculation of velocity at the exit in m/s using Eq.(4.61)
+A=(m*ve)/Ve;//calculation of cross sectional area of the nozzle at the exit in m^2
+
+//OUTPUT
+mprintf('\n The velocity of dry saturated steam at the exit= %0.2f m/s\n',Ve);
+mprintf('\n The cross sectional area of the nozzle at the exit= %0.3e m^2\n',A);
+
+//===============================================END OF PROGRAM===================================================
+
diff --git a/611/CH4/EX4.18/Chap4_Ex18_R1.sce b/611/CH4/EX4.18/Chap4_Ex18_R1.sce
new file mode 100755
index 000000000..26ceb0867
--- /dev/null
+++ b/611/CH4/EX4.18/Chap4_Ex18_R1.sce
@@ -0,0 +1,25 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 18,Page 123
+//Title:Quality of wet steam
+//================================================================================================================
+clear
+clc
+
+//INPUT
+T1=270;//temperature of wet steam in degree celsius
+T2=120;//final temperature of superheated steam in degree celsius
+P=0.1;//pressure of superheated steam in MPa
+
+//CALCULATION
+hf=1185.2;//specific enthaply of saturated liquid in kJ/kg obtained from steam tables corresponding to T1
+hg=2789.9;//specific enthalpy of saturated vapour in kJ/kg obtained from stean tables corresponding to T1
+he=2716.04;//specific enthalpy of superheated steam in kJ/kg obtained from superheated steam tables corresponding to T2 obtained by interpolation
+Xi=(he-hf)/(hg-hf);//calculation of quality of steam using Eq.(3.6) (no unit)
+
+//OUTPUT
+mprintf('\n The quality of wet steam= %0.3f \n',Xi);
+
+//===============================================END OF PROGRAM===================================================
+
+
diff --git a/611/CH4/EX4.20/Chap4_Ex20_R1.sce b/611/CH4/EX4.20/Chap4_Ex20_R1.sce
new file mode 100755
index 000000000..d0438ac0a
--- /dev/null
+++ b/611/CH4/EX4.20/Chap4_Ex20_R1.sce
@@ -0,0 +1,20 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 20,Page 128
+//Title:Standard enthalpy change
+//================================================================================================================
+clear
+clc
+
+//INPUT
+del_H=-90.135;//standard enthalpy change for the reaction CO(g)+2H2(g)--->CH3OH(g) at 298.15K in kJ
+
+//CALCULATION
+del_H1=2*del_H;//calculation of standard enthalpy change for the reaction 2CO(g)+4H2(g)--->2CH3OH(g) at 298.15K in kJ
+del_H2=(1/2)*del_H;//calculation of standard enthalpy change for the reaction (1/2)CO(g)+H2(g)--->(1/2)CH3OH(g) at 298.15K in kJ
+
+//OUTPUT
+mprintf('\n The standard enthalpy change for the reaction 2CO(g)+4H2(g)---->2CH3OH(g) at 298.15K= %0.2f kJ\n',del_H1);
+mprintf('\n The standard enthalpy change for the reaction (1/2)CO(g)+H2(g)---->(1/2)CH3OH(g) at 298.15K= %0.4f kJ\n',del_H2 );
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.22/Chap4_Ex22_R1.sce b/611/CH4/EX4.22/Chap4_Ex22_R1.sce
new file mode 100755
index 000000000..4658c0ebd
--- /dev/null
+++ b/611/CH4/EX4.22/Chap4_Ex22_R1.sce
@@ -0,0 +1,28 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 22,Page 130
+//Title:Standard enthalpy change for the reaction from standard enthalpies of formation
+//================================================================================================================
+clear
+clc
+
+//INPUT
+del_Hf_C4H10=-74.943;//standard enthalpy of formation of C4H10(g) at 298.15K in kJ
+del_Hf_CO2=-393.978;//standard enthalpy of formation of CO2(g) at 298.15K in kJ
+del_Hf_H2O=-241.997;//standard enthalpy of formation of H2O(g) at 298.15K in kJ
+
+//CALCULATION
+
+//calculation of the standard enthalpy change for the reaction C4H10(g)+(13/2)O2(g)--->4CO2(g)+5H2O(g) at 298.15K in kJ
+// by using the standard enthalpy of formation data where the formation reactions are:
+// 4C(s)+5H2(g)--->C4H10(g)--->A
+//C(s)+O2(g)--->CO2(g)---->B
+//H2(g)+(1/2)O2(g)--->H2O(g)---->C
+//del_Hr=5(C)+4(B)-(A)
+
+del_Hr=(5*del_Hf_H2O)+(4*del_Hf_CO2)-(del_Hf_C4H10);
+
+//OUTPUT
+mprintf('\n The standard enthalpy change for the reaction C4H10(g)+(13/2)O2(g)---->4CO2(g)+5H2O(g) at 298.15K= %0.3f kJ\n',del_Hr);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.23/Chap4_Ex23_R1.sce b/611/CH4/EX4.23/Chap4_Ex23_R1.sce
new file mode 100755
index 000000000..2d5c7753d
--- /dev/null
+++ b/611/CH4/EX4.23/Chap4_Ex23_R1.sce
@@ -0,0 +1,42 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 23,Page 131
+//Title:Standard enthalpy change for the reaction from standard enthalpies of formation (2)
+//================================================================================================================
+clear
+clc
+
+//INPUT
+del_Hf_C4H10=-74.943;//standard enthalpy of formation of C4H10(g) at 298.15K in kJ
+del_Hf_CO2=-393.978;//standard enthalpy of formation of CO2(g) at 298.15K in kJ
+del_Hf_H2O=-241.997;//standard enthalpy of formation of H2O(g) at 298.15K in kJ
+del_H_vap=43.966;//enthalpy of vaporization of H2O at 298.15K in kJ/mol
+
+//CALCULATION
+
+//calculation of the standard enthalpy change for the reaction C4H10(g)+(13/2)O2(g)--->4CO2(g)+5H2O(l)--->A at 298.15K in kJ
+//The above reaction A can be expressed as a sum of the following two reactions:
+//C4H10(g)+(13/2)O2(g)--->4CO2(g)+5H2O(g) --->B
+//5H2O(g)--->5H2O(l)--->C
+//Reaction C represents the physical change H2O((g);25 degree celsius,1 bar)--->H2O((l);25 degree celsius,1 bar), which can be expressed as:
+//a-->H2O((g);25 degree celsius,1 bar)--->H2O((g);25 degree celsius,Ps)---->del_H1
+//b-->H2O((g);25 degree celsius,Ps)--->H2O((l);25 degree celsius,Ps)--->del_H2
+//c-->H2O((l);25 degree celsius,Ps)--->H2O((l);25 degree celsius,1 bar)--->del_H3, where Ps is the saturation pressure at 25 degree celsius
+//The overall enthalpy change therefore is given as del_H0=del_H1+del_H2+del_H3
+
+del_H1=0;//vapour phase at low pressures behaves like an ideal gas therefore the enthalpy change is zero
+del_H2=5*(-del_H_vap);//calculation of the enthalpy of reaction b in kJ
+del_H3=0;//effect of pressure on the enthalpy of liquids is negligible
+
+//calculation of the standard enthalpy change for the reaction C4H10(g)+(13/2)O2(g)--->4CO2(g)+5H2O(g) at 298.15K in kJ, from Example (4.22)
+//by using the standard enthalpy of formation data where the formation reactions are:
+//4C(s)+5H2(g)--->C4H10(g)
+//C(s)+O2(g)--->CO2(g)
+//H2(g)+(1/2)O2(g)--->H2O(g)
+del_H=(5*del_Hf_H2O)+(4*del_Hf_CO2)-(del_Hf_C4H10);
+del_net_H=(del_H)+(del_H1)+(del_H2)+(del_H3);//calculation of the standard enthalpy change for the reaction C4H10(g)+(13/2)O2(g)-->4CO2(g)+5H2O(l) at298.15K in kJ
+
+//OUTPUT
+mprintf('\n The standard enthalpy change for the reaction C4H10(g)+(13/2)O2(g)---->4CO2(g)+5H2O(l) at 298.15K= %0.3f kJ\n',del_net_H);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.24/Chap4_Ex24_R1.sce b/611/CH4/EX4.24/Chap4_Ex24_R1.sce
new file mode 100755
index 000000000..6390a3efc
--- /dev/null
+++ b/611/CH4/EX4.24/Chap4_Ex24_R1.sce
@@ -0,0 +1,30 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 24,Page 132
+//Title:Standard enthalpy change of formation of n-butane gas
+//================================================================================================================
+clear
+clc
+
+//INPUT
+del_H_comb=2880.44;//gross heating value of n-buatne gas at 298.15K in kJ/mol
+del_Hf_CO2=-393.978;//standard enthalpy of formation of CO2(g) at 298.15K in kJ
+del_Hf_H2O=-285.958;//standard enthalpy of formation of H2O(l) at 298.15K in kJ
+del_Hf_O2=0;//standard enthalpy of formation of O2(g) at 298.15K in kJ
+//CALCULATION
+
+//The combustion reaction is given by:
+//C4H10(g)+(13/2)O2(g)--->4CO2(g)+5H2O(l)
+//del_H_comb=(4*del_Hf_CO2)+(5*del_Hf_H2O)-(del_Hf_C4H10), from which del_Hf_C4H10 is computed
+n_CO2=4;//stoichiometric coefficient (no unit)
+n_H2O=5;//stoichiometric coefficient (no unit)
+n_O2=-13/2;//stoichiometric coefficient (no unit)
+n_C4H10=-1;//stoichiometric coefficient (no unit)
+//computation of the standard enthaply of formation of n-butane gas at 298.15K in kJ
+del_Hf_C4H10=(n_CO2*del_Hf_CO2)+(n_H2O*del_Hf_H2O)+(n_O2*del_Hf_O2)-(-del_H_comb);
+
+
+//OUTPUT
+mprintf('\n The standard enthalpy of formation of n-butane gas at 298.15K= %0.3f kJ\n',del_Hf_C4H10);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.25/Chap4_Ex25_R1.sce b/611/CH4/EX4.25/Chap4_Ex25_R1.sce
new file mode 100755
index 000000000..353bc40d0
--- /dev/null
+++ b/611/CH4/EX4.25/Chap4_Ex25_R1.sce
@@ -0,0 +1,31 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 25,Page 133
+//Title:Standard enthalpy change
+//================================================================================================================
+clear
+clc
+
+//INPUT
+
+//The reaction is: CH4(g)+H2O(g)--->CO(g)+3H2(g)
+//The standard enthalpy change for the above reaction is determined by using the individual combustion reactions
+//The combustion reactions are:
+//A--->CH4(g)+2O2(g)--->CO2(g)+2H2O(l)--->del_Hc_A
+//B--->CO(g)+(1/2)O2(g)--->CO2(g)--->del_Hc_B
+//C--->H2(g)+(1/2)O2(g)--->H2O(l)--->del_Hc_C
+//D--->H2O(g)--->H2O(l)--->del_H_vap
+
+del_Hc_A=-890.94;//enthalpy change accompanying reaction A in kJ
+del_Hc_B=-283.18;//enthalpy change accompanying reaction B in kJ
+del_Hc_C=-286.03;//enthalpy change accompanying reaction C in kJ
+del_H_vap=-43.966;//enthalpy change of vaporization of H2O at 298.15K in kJ/mol
+
+//CALCULATION
+del_H0=(del_Hc_A)-(del_Hc_B)-(3*del_Hc_C)+(del_H_vap);//calculation of the standard enthalpy change of the reaction in kJ
+
+//OUTPUT
+mprintf('\n The standard enthalpy change at 298.15K for the reaction CH4(g)+H2O(g)--->CO(g)+3H2(g)= %0.3f kJ\n',del_H0);
+
+//===============================================END OF PROGRAM===================================================
+
diff --git a/611/CH4/EX4.26/Chap4_Ex26.sce b/611/CH4/EX4.26/Chap4_Ex26.sce
new file mode 100755
index 000000000..80ba859ea
--- /dev/null
+++ b/611/CH4/EX4.26/Chap4_Ex26.sce
@@ -0,0 +1,54 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 26,Page 135
+//Title:Standard enthalpy change at 400K
+//================================================================================================================
+clear
+clc
+
+//INPUT
+
+//The reaction is : C2H4(g)+H2O(g)--->C2H5OH(g)
+
+del_H_vap=43.82;//enthalpy of vaporization of ethanol at 298.15K in kJ/mol
+
+//Data taken from Appendix tables A.3 and A.4 have been given below:
+
+del_Hf=[52.335;-241.997;0;-277.819];//standard enthalpies of formation of C2H4(g),H2O(g),C2H5OH(g),C2H5OH(l) at 298.15K in kJ
+a=[4.196;28.850;20.691;0]//coefficients to compute isobaric molar heat capacity of C2H4(g),H2O(g),C2H5OH(g),C2H5OH(l) in J/molK
+b=[154.565*10^-3;12.055*10^-3;205.346*10^-3;0]//coefficients to compute isobaric molar heat capacity of C2H4(g),H2O(g),C2H5OH(g),C2H5OH(l) in J/molK
+c=[-81.076*10^-6;0;-99.793*10^-6;0]//coefficients to compute isobaric molar heat capacity of C2H4(g),H2O(g),C2H5OH(g),C2H5OH(l) in J/molK
+d=[16.813*10^-9;0;18.825*10^-9;0]//coefficients to compute isobaric molar heat capacity of C2H4(g),H2O(g),C2H5OH(g),C2H5OH(l) in J/molK
+e=[0;1.006*10^5;0;0];//coefficients to compute isobaric molar heat capacity of C2H4(g),H2O(g),C2H5OH(g),C2H5OH(l) in J/molK
+//where Cp0=a+bT+cT^2+dT^3+eT^-2
+
+T1=298.15;//Ambient temeprature in K
+T2=400;//temperature at which the standard enthalpy change has to be determined in K
+n_C2H4=-1;//stoichiometric coefficient (no unit)
+n_H2O=-1;//stoichiometric coefficient (no unit)
+n_C2H5OH=1;//stoichiometric coefficient (no unit)
+
+//CALCULATION
+
+//The standard enthalpy of formation of C2H5OH(g) can be obtained from the following reactions:
+//2C(s)+3H2(g)+(1/2)O2(g)--->C2H5OH(l)
+//C2H5OH(l)--->C2H5OH(g)
+
+del_Hf_C2H5OH_g=del_Hf(4,:)+del_H_vap;//calculation of standard enthalpy of formation of C2H5OH(g) at 298.15K in kJ
+del_Hr=(n_C2H5OH*del_Hf_C2H5OH_g)+(n_C2H4*del_Hf(1,:))+(n_H2O*del_Hf(2,:));//calculation of standard enthalpy change of reaction in kJ
+del_a=(n_C2H4*a(1,:))+(n_H2O*a(2,:))+(n_C2H5OH*a(3,:));//calculation of del_a using Eq.(4.83)
+del_b=(n_C2H4*b(1,:))+(n_H2O*b(2,:))+(n_C2H5OH*b(3,:));//calculation of del_b using Eq.(4.83)
+del_c=(n_C2H4*c(1,:))+(n_H2O*c(2,:))+(n_C2H5OH*c(3,:));//calculation of del_c using Eq.(4.83)
+del_d=(n_C2H4*d(1,:))+(n_H2O*d(2,:))+(n_C2H5OH*d(3,:));//calculation of del_d using Eq.(4.83)
+del_e=(n_C2H4*e(1,:))+(n_H2O*e(2,:))+(n_C2H5OH*e(3,:));//calculation of del_e using Eq.(4.83)
+del_H0=(del_Hr*10^3)-((del_a*T1)+((del_b/2)*T1^2)+((del_c/3)*T1^3)+((del_d/4)*T1^4)-(del_e/T1));//calculation del_H0 in kJ using Eq.(4.82)
+//calculation of the standard enthalpy of reaction at 400K in kJ
+del_Hr_T2=(del_H0+((del_a*T2)+((del_b/2)*T2^2)+((del_c/3)*T2^3)+((del_d/4)*T2^4)-(del_e/T2)))*10^-3;
+
+//OUTPUT
+mprintf('\n The standard enthalpy change at 400K for the reaction C2H4(g)+H2O(g)--->C2H5OH(g)= %f kJ\n',del_Hr_T2);
+
+//===============================================END OF PROGRAM===================================================
+
+
+
diff --git a/611/CH4/EX4.28/Chap4_Ex28.sce b/611/CH4/EX4.28/Chap4_Ex28.sce
new file mode 100755
index 000000000..655e3bd76
--- /dev/null
+++ b/611/CH4/EX4.28/Chap4_Ex28.sce
@@ -0,0 +1,61 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 28,Page 137
+//Title:Flame temperature
+//================================================================================================================
+clear
+clc
+
+//INPUT
+
+//The combustion reaction of methane is given by:
+// CH4(g)+2O2(g)--->CO2(g)+2H2O(g)
+
+n_O2=2;// stoichiometric amount of oxygen required for combustion
+n_CH4=1;//number of moles of CH4(g) in moles
+n_CO2=1;//number of moles of CO2(g) formed in the combustion reaction in moles
+n_H2O=2;//number of moles of H2O(g) formed in the combustion reaction in moles
+del_Hf=[-74.943;0;-393.978;-241.997];// standard enthalpies of formation of CH4(g),O2(g),CO2(g),H2O(g) at 298.15K in kJ
+a=[45.369;28.850;30.255;27.270];//coefficients to compute isobaric molar heat capacity of CO2(g),H2O(g),O2(g),N2(g) in J/molK
+b=[8.688*10^-3;12.055*10^-3;4.207*10^-3;4.930*10^-3];//coefficients to compute isobaric molar heat capacity of CO2(g),H2O(g),O2(g),N2(g) in J/molK
+c=[0;0;0;0];//coefficients to compute isobaric molar heat capacity of CO2(g),H2O(g),O2(g),N2(g) in J/molK
+d=[0;0;0;0];//coefficients to compute isobaric molar heat capacity of CO2(g),H2O(g),O2(g),N2(g) in J/molK
+e=[-9.619*10^5;1.006*10^5;-1.887*10^5;0.333*10^5];//coefficients to compute isobaric molar heat capacity of CO2(g),H2O(g),O2(g),N2(g) in J/molK
+per_excess_air=50; //percentage excess of air supplied to the adiabatic burner
+T_amb=298.15;// temperature at which air and methane enter the burner in K
+per_N2=79;//percentage of N2 in the air supplied
+per_O2=21;//percentage of O2 in the air supplied
+
+//CALCULATION
+n_O2_actual=(1+(per_excess_air/100))*n_O2;//calculation of the number of moles of oxygen actually present in the system in moles
+n_N2=n_O2_actual*(per_N2/per_O2);//calculation of the number of moles of nitrogen actually present in the system in moles
+n_O2_residual=n_O2_actual-n_O2;//calculation of excess oxygen leaving as product in moles
+// The actual combustion reaction can be written as:
+// CH4(g)+3O2(g)+11.286N2(g)--->CO2(g)+2H2O(g)+O2(g)+11.286N2(g)
+
+
+del_Hr=(n_CO2*del_Hf(3,:))+(n_H2O*del_Hf(4,:))-(n_O2*del_Hf(2,:))-(n_CH4*del_Hf(1,:));//standard enthalpy of reaction at 298.15K in kJ
+
+//-delH_r=del_Hp
+//deriving an expression for del_Hp:
+
+del_a=(n_CO2*a(1,:))+(n_H2O*a(2,:))+(n_O2_residual*a(3,:))+(n_N2*a(4,:));//calculation of del_a using Eq.(4.83)
+del_b=(n_CO2*b(1,:))+(n_H2O*b(2,:))+(n_O2_residual*b(3,:))+(n_N2*b(4,:));//calculation of del_b using Eq.(4.83)
+del_c=(n_CO2*c(1,:))+(n_H2O*c(2,:))+(n_O2_residual*c(3,:))+(n_N2*c(4,:));//calculation of del_c using Eq.(4.83)
+del_d=(n_CO2*d(1,:))+(n_H2O*d(2,:))+(n_O2_residual*d(3,:))+(n_N2*d(4,:));//calculation of del_d using Eq.(4.83)
+del_e=(n_CO2*e(1,:))+(n_H2O*e(2,:))+(n_O2_residual*e(3,:))+(n_N2*e(4,:));//calculation of del_a using Eq.(4.83)
+tguess=500;//giving a guess value of temperature in K for using the inbuilt solver, fsolve to solve the system of equations below
+function[fn]=solver_func(ti)
+ //Function defined for solving the system
+fn=(-(del_Hr*10^3))-((del_a*(ti-T_amb))+((del_b/2)*((ti^2)-(T_amb^2)))+((del_c/3)*((ti^3)-(T_amb^3)))+((del_d/4)*((ti^4)-(T_amb^4)))+(del_e*((1/T_amb)-(1/ti))));
+endfunction
+[T]=fsolve(tguess,solver_func,1e-6)//using inbuilt function fsolve for solving the system of equations to get the flame temperaure in K
+
+ //OUTPUT
+mprintf('\n The flame temperature when methane is burned with 50 percent excess air in an adiabatic burner= %f K\n',T);
+
+//===============================================END OF PROGRAM===================================================
+
+
+
+
diff --git a/611/CH4/EX4.29/Chap4_Ex29_R1.sce b/611/CH4/EX4.29/Chap4_Ex29_R1.sce
new file mode 100755
index 000000000..9cf0a1957
--- /dev/null
+++ b/611/CH4/EX4.29/Chap4_Ex29_R1.sce
@@ -0,0 +1,72 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 29,Page 139
+//Title: Amount of energy transferred as heat in the boiler
+//================================================================================================================
+clear
+clc
+
+//INPUT
+T_exit=550;//temperature in K at which the combustion products leave the boiler
+percent_molar_comp_prdct=[6.28;3.14;7.85;82.73];// percentage molar composition of the combustion products CO2(g),CO(g),O2(g),N2(g) on dry basis
+T_ent=298.15;//temperature in K at which Propane and air enter the combustion chamber
+del_Hf=[-393.978;-110.532;-241.997;0;0;-103.833];//standard enthalpies of formation of CO2(g),CO(g),H2O(g),O2(g),N2(g),C3H8(g) at 298.15K in kJ
+a=[45.369;28.068;30.255;27.270;28.850];//coefficients to compute isobaric molar heat capacity of CO2(g),CO(g),O2(g),N2(g),H2O(g) in J/molK
+//coefficients to compute isobaric molar heat capacity of CO2(g),CO(g),O2(g),N2(g),H2O(g) in J/molK
+b=[8.688*10^-3;4.631*10^-3;4.207*10^-3;4.930*10^-3;12.055*10^-3];
+c=[0;0;0;0;0];//coefficients to compute isobaric molar heat capacity of CO2(g),CO(g),O2(g),N2(g),H2O(g) in J/molK
+d=[0;0;0;0;0];//coefficients to compute isobaric molar heat capacity of CO2(g),CO(g),O2(g),N2(g),H2O(g) in J/molK
+e=[-9.619*10^5;-0.258*10^5;-1.887*10^5;0.333*10^5;1.006*10^5];//coefficients to compute isobaric molar heat capacity of CO2(g),CO(g),O2(g),N2(g),H2O(g) in J/molK
+per_N2=79;//percentage of nitrogen in air
+per_O2=21;//percentage of oxygen in air
+molar_mass_propane=44*10^-3;//molar mass of propane in kg/mole
+
+//CALCULATION
+// TAKE BASIS AS 100 mol OF DRY COMBUSTION PRODUCTS
+n_CO2=percent_molar_comp_prdct(1,:);//number of moles of CO2(g) in the product stream
+n_CO=percent_molar_comp_prdct(2,:);//number of moles of CO(g) in the product stream
+n_O2=percent_molar_comp_prdct(3,:);//number of moles of O2(g) in the product stream
+n_N2=percent_molar_comp_prdct(4,:);//number of moles of N2(g) in the product stream
+
+//The combustion reaction can be given as:
+// x C3H8+ y O2+ (79/21)y N2--->6.28CO2+3.14CO+7.85O2+82.73N2+ zH2O
+
+//Determination of x, y, z
+
+//carbon atom balance:
+x=(n_CO2+n_CO)/3;
+
+//Nitrogen atom balance:
+y=(2*n_N2)/(2*(per_N2/per_O2));
+
+//oxygen atom balance
+z=(2*y)-(2*n_CO2)-(n_CO)-(2*n_O2);
+
+//The actual combustion reaction becomes:
+//3.14C3H8+ 21.992O2+ 82.73N2--->6.28CO2+3.14CO+7.85O2+82.73N2+ 12.584H2O
+
+n_H2O=z;//number of moles of H2O determined after the balance done on the carbon,oxygen,and nitrogen atoms
+n_C3H8=x;//number of moles of C3H8 determined after the balance done on the carbon,oxygen,and nitrogen atoms
+
+//calculation of the standard enthalpy of the reaction at 298.15K in kJ
+//del_hf=0, for oxygen and nitrogen,therefore they are omitted in the expression
+del_Hr=(n_CO2*del_Hf(1,:))+(n_CO*del_Hf(2,:))+(n_H2O*del_Hf(3,:))-(n_C3H8*del_Hf(6,:));
+
+del_a=(n_CO2*a(1,:))+(n_CO*a(2,:))+(n_O2*a(3,:))+(n_N2*a(4,:))+(n_H2O*a(5,:));//calculation of del_a using Eq.(4.83)
+del_b=(n_CO2*b(1,:))+(n_CO*b(2,:))+(n_O2*b(3,:))+(n_N2*b(4,:))+(n_H2O*b(5,:));//calculation of del_b using Eq.(4.83)
+del_c=(n_CO2*c(1,:))+(n_CO*c(2,:))+(n_O2*c(3,:))+(n_N2*c(4,:))+(n_H2O*c(5,:));//calculation of del_c using Eq.(4.83)
+del_d=(n_CO2*d(1,:))+(n_CO*d(2,:))+(n_O2*d(3,:))+(n_N2*d(4,:))+(n_H2O*d(5,:));//calculation of del_d using Eq.(4.83)
+del_e=(n_CO2*e(1,:))+(n_CO*e(2,:))+(n_O2*e(3,:))+(n_N2*e(4,:))+(n_H2O*e(5,:));//calculation of del_e using Eq.(4.83)
+
+//calulation of del_Hp J
+ del_Hp=(del_a*(T_exit-T_ent))+((del_b/2)*((T_exit^2)-(T_ent^2)))+((del_c/3)*((T_exit^3)-(T_ent^3)))+((del_d/4)*((T_exit^4)-(T_ent^4)))-(del_e*((1/T_exit)-(1/T_ent)));
+ del_H=((del_Hr*10^3)+(del_Hp))*10^-3;//calculation of total energy transferred as heat in kJ
+ mass_propane=n_C3H8*molar_mass_propane;//calculation of amount of propane in the system in kg
+ energy=(-(del_H*10^3)/mass_propane)*10^-6;//energy transferred as heat per kg propane in MJ
+
+//OUTPUT
+mprintf('\n The energy transferred as heat per kg propane= %f MJ\n',energy);
+
+//===============================================END OF PROGRAM===================================================
+
+
diff --git a/611/CH4/EX4.3/Chap4_Ex3_R1.sce b/611/CH4/EX4.3/Chap4_Ex3_R1.sce
new file mode 100755
index 000000000..dd983af6d
--- /dev/null
+++ b/611/CH4/EX4.3/Chap4_Ex3_R1.sce
@@ -0,0 +1,35 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 3,Page 96
+//Title:Final temperature and final pressure
+//================================================================================================================
+clear
+clc
+
+//INPUT
+V=1;//volume of tank in m^3;
+N=200;//number of moles of carbon dioxide in tank in mol
+T1=25;//ambient temperature in degree celsius
+I=5;//current in amperes passed through the resistor place in the tank
+Voltage=440;//voltage in volts existing across the resistor
+t=10;//time in minutes for which the current is passed
+a=363.077*10^-3;//van der waals constant in Pa (m^3/mol)^2
+b=0.043*10^-3;//van der waals constant in m^3/mol
+Cv=32.34;//molar heat capacity at constant volume in J/molK
+R=8.314;//universal gas constant in J/molK
+
+//CALCULATION
+MV=V/N;//calculation of molar volume in m^3/mol
+Q=0;//energy transfer as heat during the process
+W_Pdv=0;//mechanical work done by the system
+W_elec=-(Voltage*I*t*60)*(10^-6);//calculation of electrical work done on the system in MJ
+U2_1=Q-(W_Pdv+W_elec);//calculation of internal energy in MJ using Eq.(4.5)
+T2=((U2_1*10^6)/(N*Cv))+(T1+273.15);//calculation of final temperature in K using the relation du=CvdT+(a/v^2)dv, where dv is zero
+P=(((R*T2)/(MV-b))-(a/(MV^2)))*10^-3;//calculation of final pressure in kPa using Eq.(3.18)
+
+//OUTPUT
+mprintf('\n The final pressure= %0.3f kPa \n',P);
+mprintf('\n The final temperature= %0.2f K\n',T2);
+
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.4/Chap4_Ex4_R1.sce b/611/CH4/EX4.4/Chap4_Ex4_R1.sce
new file mode 100755
index 000000000..da2129791
--- /dev/null
+++ b/611/CH4/EX4.4/Chap4_Ex4_R1.sce
@@ -0,0 +1,40 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 4,Page 97
+//Title:Energy transferred and final state masses of liquid and vapour
+//================================================================================================================
+clear
+clc
+
+//INPUT
+V=0.1;//volume of tank in m^3
+T1=200;//initial temperature of saturated steam inside the tank in degree celsius
+T2=150;//temperature in degree celsius that the tank attains after some time due to poor insulation
+P1=15.549;//pressure in bar obtained from steam tables corresponding to T1
+vg1=0.1272;//specific volume of saturated vapour in m^3/kg obtained from steam tables corresponding to T1
+hg1=2790.9;//specific enthalpy of saturated vapour in kJ/kg obtained from steam tables corresponding to T1
+P2=4.76;//pressure in bar obtained from steam tables corresponding to T2
+vf=0.0010908;//specific volume of saturated liquid in m^3/kg obtained from steam tables corresponding to T2
+vg2=0.3924;//specific volume of saturated vapour in m^3/kg obtained from steam tables corresponding to T2
+hf=632.15;//specific enthalpy of saturated liquid in kJ/kg obtained from steam tables corresponding to T1
+hg2=2745.4;//specific enthalpy of saturated vapour in kJ/kg obtained from steam tables corresponding to T1
+
+//CALCULATION
+ug1=((hg1*10^3)-(P1*10^5*vg1))*10^-3;//calculation of internal energy of vapour corresponding to T1 in kJ/kg
+uf=((hf*10^3)-(P2*10^5*vf))*10^-3;//calculation of internal energy of liquid corresponding to T2 in kJ/kg
+ug2=((hg2*10^3)-(P2*10^5*vg2))*10^-3;//calculation of internal energy of vapour corresponding to T2 in kJ/kg
+v2=vg1;//since constant volume process
+X2=(v2-vf)/(vg2-vf);//calculation of the final quality of steam (no unit)
+u2=(X2*ug2)+((1-X2)*uf);//calculation of the internal energy at the final state in kJ/kg
+m=V/vg1;//calculation of the mass of steam in kg
+Q=m*(u2-ug1);//calculation of energy transferred as heat in kJ, using the first law of thermodynamics
+mf=m*(1-X2);//calculation of mass of liquid in the tank in the final state in kg
+mg=m*X2;//calculation of mass of vapour in the tank in the final state in kg
+
+ //OUTPUT
+mprintf('\n The energy transferred as heat= %f kJ\n',Q);
+mprintf('\n The mass of liquid in the tank in the final state= %0.3f kg\n',mf);
+mprintf('\n The mass of vapour in the tank in the final state= %0.3f kg\n',mg);
+//===============================================END OF PROGRAM===================================================
+
+
diff --git a/611/CH4/EX4.5/Chap4_Ex5_R1.sce b/611/CH4/EX4.5/Chap4_Ex5_R1.sce
new file mode 100755
index 000000000..416c31743
--- /dev/null
+++ b/611/CH4/EX4.5/Chap4_Ex5_R1.sce
@@ -0,0 +1,41 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 5,Page 102
+//Title:Work done and energy transferred
+//================================================================================================================
+clear
+clc
+
+//INPUT
+W=1;//weight of steam in kg in the piston cylinder assembly
+X=0.8;//quality of steam (no unit)
+T1=150;//initial temperature of steam in degree celsius
+T2=200;//final temperature of steam in degree celsius
+P1=476;//pressure in kPa obatined from steam tables (corresponding to T1)
+vf=0.0010908;//specific volume of saturated liquid in m^3/kg obatined from steam tables (corresponding to T1)
+vg=0.3924;//specific volume of satuarted vapour in m^3/kg obatined from steam tables (corresponding to T1)
+hf=632.15;//specific enthalpy of saturated liquid in kJ/kg obtained from steam tables (corresponding to T1)
+hg=2745.4;//specific enthalpy of saturated vapour in kJ/kg obtained from steam tables (corresponding to T1)
+
+//CALCULATION
+V1=(X*vg)+((1-X)*vf);//calculation of specific volume of steam in m^3/kg
+h1=(X*hg)+((1-X)*hf);//calculation of specific enthalpy of steam in kJ/kg
+P2=0.476;//Pressure in MPa is held constant during the process
+P_int1=0.4;//Pressure in MPa from steam tables at T2 taken for interpolation to find V2 and h2 corresponding to P2
+P_int2=0.5;//Pressure in MPa from steam tables at T2 taken for interpolation to find V2 and h2 corresponding to P2
+V_int1=0.5343;//specific volume in m^3/kg at P_int1 obtained from steam tables at T2 taken for interpolation to find V2 and h2 corresponding to P2
+V_int2=0.4250;//specific volume in m^3/kg at P_int2 obtained from steam tables at T2 taken for interpolation to find V2 and h2 corresponding to P2
+h_int1=2860.4;//specific enthalpy in kJ/kg at P_int1 obtained from steam tables at T2 taken for interpolation to find V2 and h2 corresponding to P2
+h_int2=2855.1;//specific enthalpy in kJ/kg at P_int2 obtained from steam tables at T2 taken for interpolation to find V2 and h2 corresponding to P2
+V2=(((P2-P_int1)/(P_int2-P_int1))*(V_int2-V_int1))+V_int1;//specific volume of superheated steam in m^3/kg obtained by interpolation (corresponding to T2 and P2)
+h2=(((P2-P_int1)/(P_int2-P_int1))*(h_int2-h_int1))+h_int1;//specific enthalpy of superheated steam in kJ/kg obtained by interpolation (corresponding to T2 and P2)
+Q=(h2-h1)*W;//calculation of net heat transferred in kJ using Eq.(4.15)
+W=P1*(V2-V1)*W;//calculation of work done by steam in kJ using Eq.(4.14)
+
+//OUTPUT
+mprintf('\n The work done by steam= %0.2f kJ \n',W);
+mprintf('\n The net energy transferred as heat = %0.2f kJ\n',Q);
+mprintf('\n The final state of superheated steam,Pressure=%0.3f MPa \n',P2);
+mprintf('\n The final state of superheated steam,Temperature=%d degree celsius \n',T2);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.6/Chap4_Ex6_R1.sce b/611/CH4/EX4.6/Chap4_Ex6_R1.sce
new file mode 100755
index 000000000..dac1b2f30
--- /dev/null
+++ b/611/CH4/EX4.6/Chap4_Ex6_R1.sce
@@ -0,0 +1,43 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 6,Page 103
+//Title:Work done and final temperature
+//================================================================================================================
+clear
+clc
+
+//INPUT
+W=1;//weight of steam in kg in the piston cylinder assembly
+X=0.8;//quality of steam (no unit)
+T1=150;//initial temperature of steam in degree celsius
+I=5;//current passed in Amperes
+V=220;//voltage in volts across the resistor
+t=10;//time for which the current is passed in minutes
+P1=476;//pressure in kPa obatined from steam tables (corresponding to T1)
+vf=0.0010908;//specific volume of saturated liquid in m^3/kg obatined from steam tables (corresponding to T1)
+vg=0.3924;//specific volume of satuarted vapour in m^3/kg obatined from steam tables (corresponding to T1)
+hf=632.15;//specific enthalpy of saturated liquid in kJ/kg obtained from steam tables (corresponding to T1)
+hg=2745.4;//specific enthalpy of saturated vapour in kJ/kg obtained from steam tables (corresponding to T1)
+
+//CALCULATION
+V1=(X*vg)+((1-X)*vf);//calculation of specific volume of steam in m^3/kg
+h1=(X*hg)+((1-X)*hf);//calculation of specific enthalpy of steam in m^3/kg
+Ws=-V*I*t*60*10^-3;//calculation of electrical work done on the system in kJ
+h2=h1-Ws;//calculation of the specific enthalpy of steam in the final state in kJ/kg
+P2=0.476;//Pressure in MPa is held constant during the process
+T_int1=200;//Temperature in degree celsius obtained from steam tables at P2 taken for interpolation to find V2 and T2 corresponding to P2
+T_int2=300;//Temperature in degree celsius obtained from steam tables at P2 taken for interpolation to find V2 and T2 corresponding to P2
+V_int1=0.4512;//specific volume in m^3/kg at T_int1 from steam tables at P2 taken for interpolation to find V2 and T2 corresponding to P2
+V_int2=0.5544;//specific volume in m^3/kg at T_int2 from steam tables at P2 taken for interpolation to find V2 and T2 corresponding to P2
+h_int1=2856.37;//specific enthalpy in kJ/kg at T_int1 obtained from steam tables at P2 taken for interpolation to find V2 and T2 corresponding to P2
+h_int2=3065.38;//specific enthalpy in kJ/kg at T_int2 obtained from steam tables at P2 taken for interpolation to find V2 and T2 corresponding to P2
+V2=(((h2-h_int1)/(h_int2-h_int1))*(V_int2-V_int1))+V_int1;//specific volume of superheated steam in m^3/kg obtained by interpolation (corresponding to T2 and P2)
+//Temperature of superheated steam in degree celsius obtained by interpolation (corresponding to T2 and P2)
+T2=(((h2-h_int1)/(h_int2-h_int1))*(T_int2-T_int1))+T_int1;
+W=(P1*10^3*(V2-V1)*W)*10^-3;//calculation of work done by steam in kJ using Eq.(4.14)
+
+//OUTPUT
+mprintf('\n The work done by steam= %0.2f kJ \n',W);
+mprintf('\n The final temperature= %0.2f degree celsius\n',T2);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.7/Chap4_Ex7_R1.sce b/611/CH4/EX4.7/Chap4_Ex7_R1.sce
new file mode 100755
index 000000000..1ca3312c2
--- /dev/null
+++ b/611/CH4/EX4.7/Chap4_Ex7_R1.sce
@@ -0,0 +1,25 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 7,Page 104
+//Title:Amount of energy
+//================================================================================================================
+clear
+clc
+
+//INPUT
+N=1;//number of moles of carbon dioxide in kmol
+T1=298;//initial temperature in K
+T2=600;//final raised temperature in K
+a=45.369;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+b=8.688*10^-3;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+e=-9.619*10^5;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+//Where Cp is in J/molK
+
+//CALCULATION
+Q=N*10^3*((a*(T2-T1)+((b/2)*(T2^2-T1^2))-(e*((1/T2)-(1/T1)))))*10^-6;//calculation of the amount of energy to be transferred in MJ using Eq.(4.25)
+
+//OUTPUT
+mprintf('\n The amount of energy to be transferred as heat= %0.3f MJ\n',Q);
+
+//===============================================END OF PROGRAM===================================================
+
diff --git a/611/CH4/EX4.8/Chap4_Ex8_R1.sce b/611/CH4/EX4.8/Chap4_Ex8_R1.sce
new file mode 100755
index 000000000..7b2d1be3b
--- /dev/null
+++ b/611/CH4/EX4.8/Chap4_Ex8_R1.sce
@@ -0,0 +1,23 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 8,Page 104
+//Title:Isobaric molar heat capacity
+//================================================================================================================
+clear
+clc
+
+//INPUT
+T1=298;//initial temperature in K
+T2=600;//final raised temperature in K
+a=45.369;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+b=8.688*10^-3;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+e=-9.619*10^5;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+//Where Cp is in J/molK
+
+//CALCULATION
+Cpm=((a*(T2-T1))+((b/2)*(T2^2-T1^2))-(e*((1/T2)-(1/T1))))/(T2-T1);//calculation of isobaric molar heat capacity in J/molK using Eq.(4.26)
+
+//OUTPUT
+mprintf('\n The isobaric molar heat capacity= %0.2f J/molK\n',Cpm);
+
+//===============================================END OF PROGRAM===================================================
diff --git a/611/CH4/EX4.9/Chap4_Ex9_R1.sce b/611/CH4/EX4.9/Chap4_Ex9_R1.sce
new file mode 100755
index 000000000..377eac40e
--- /dev/null
+++ b/611/CH4/EX4.9/Chap4_Ex9_R1.sce
@@ -0,0 +1,25 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-4,Example 9,Page 105
+//Title:Amount of energy transferred using isobaric molar heat capacity
+//================================================================================================================
+clear
+clc
+
+//INPUT
+N=1;//number of moles of carbon dioxide in kmol
+T1=298;//initial temperature in K
+T2=600;//final raised temperature in K
+a=45.369;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+b=8.688*10^-3;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+e=-9.619*10^5;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
+//Where Cp is in J/molK
+
+//CALCULATION
+Cpm=((a*(T2-T1))+((b/2)*(T2^2-T1^2))-(e*((1/T2)-(1/T1))))/(T2-T1);//calculation of isobaric molar heat capacity in J/molK using Eq.(4.26)
+Q=N*10^3*Cpm*(T2-T1)*10^-6;//calculation of the amount of energy to be transferred in MJ using Eq.(4.25)
+
+//OUTPUT
+mprintf('\n The amount of energy to be transferred as heat= %0.3f MJ \n',Q);
+
+//===============================================END OF PROGRAM===================================================