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 --- 611/CH8/EX8.2/Chap8_Ex2_R1.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 611/CH8/EX8.2/Chap8_Ex2_R1.sce (limited to '611/CH8/EX8.2/Chap8_Ex2_R1.sce') diff --git a/611/CH8/EX8.2/Chap8_Ex2_R1.sce b/611/CH8/EX8.2/Chap8_Ex2_R1.sce new file mode 100755 index 000000000..72678dbe6 --- /dev/null +++ b/611/CH8/EX8.2/Chap8_Ex2_R1.sce @@ -0,0 +1,26 @@ +// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India. + +//Chapter-8,Example 2,Page 275 +//Title: Enthalpy and entropy departure +//================================================================================================================ +clear +clc + +//INPUT +T=427.85;//temperature of n-octane vapour in K +P=0.215;//pressure of n-octane vapour in MPa +a=3.789;//van der Waals constant in Pa (m^3/mol)^2 +b=2.37*10^-4;//van der Waals constant in m^3/mol +v=15.675*10^-3;//volume occupied by n-octane vapour taken from Example (3.8) in m^3/mol +R=8.314;//universal gas constant in J/molK + +//CALCULATION +//n-octane obeys the van der Waals equation of state +dep_h=(P*10^6*v)-(R*T)-(a/v);//calculation of the enthalpy departure using Example(8.1) in J/mol +dep_s=R*log ((P*10^6*(v-b))/(R*T));//calculation of the entropy departure using Example(8.1) in J/molK + +//OUTPUT +mprintf("\n The enthalpy departure for n-octane vapour = %0.2f J/mol\n",dep_h); +mprintf("\n The entropy departure for n-octane vapour = %0.4f J/mol K\n",dep_s); + +//===============================================END OF PROGRAM=================================================== -- cgit