diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /611/CH3/EX3.5 | |
download | Scilab-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/CH3/EX3.5')
-rwxr-xr-x | 611/CH3/EX3.5/Chap3_Ex5_R1.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/611/CH3/EX3.5/Chap3_Ex5_R1.sce b/611/CH3/EX3.5/Chap3_Ex5_R1.sce new file mode 100755 index 000000000..04088a619 --- /dev/null +++ b/611/CH3/EX3.5/Chap3_Ex5_R1.sce @@ -0,0 +1,21 @@ +// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-3,Example 5,Page 52
+//Title:Volume using ideal gas law
+//================================================================================================================
+clear
+clc
+
+//INPUT
+n=1;//number of moles of n-octane vapour in mol
+T=427.85;//tempearture of n-octane vapour in K
+P=0.215;//pressure n-octane vapour in MPa
+R=8.314;//universal gas constant in (kPa m^3)/(kmol K)
+
+//CALCULATION
+V=((n*10^-3)*R*T)/(P*10^3);//calculation of volume using ideal gas law-Eq.(3.9) in m^3
+
+//OUTPUT
+mprintf('\n The volume occupied by n-octane vapour= %f m^3 \n',V);
+
+//===============================================END OF PROGRAM===================================================
|