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 /858/CH2/EX2.31 | |
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 '858/CH2/EX2.31')
-rwxr-xr-x | 858/CH2/EX2.31/example_31.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/858/CH2/EX2.31/example_31.sce b/858/CH2/EX2.31/example_31.sce new file mode 100755 index 000000000..93b25e8b9 --- /dev/null +++ b/858/CH2/EX2.31/example_31.sce @@ -0,0 +1,27 @@ +clc
+clear
+printf("example 2.31 page number 84\n\n")
+
+//to find relative saturation and dew point
+
+vapor_pressure=8 //in kPa
+volume_ethanol=0.05;
+
+//basis 1kmol of mixture
+
+partial_pressure=volume_ethanol*100;
+relative_saturation=partial_pressure/vapor_pressure;
+mole_ratio=volume_ethanol/(1-volume_ethanol);
+printf("mole ratio = %f \nrelative saturation = %f",mole_ratio,relative_saturation*100)
+
+//basis 1kmol saturated gas mixture at 100kPa
+volume_vapor=(8/100)*100;
+ethanol_vapor=volume_vapor/100;
+air_vapor=1-ethanol_vapor;
+saturation_ratio=ethanol_vapor/air_vapor;
+percentage_saturation=mole_ratio/saturation_ratio;
+
+printf("\n\npercentage saturation = %f",percentage_saturation)
+
+//dew point
+printf("\n\ncorresponding to partial pressure of 5kPa we get a dew point of 17.3 degree celcius")
|