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 /2339/CH4/EX4.37.1 | |
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 '2339/CH4/EX4.37.1')
-rwxr-xr-x | 2339/CH4/EX4.37.1/Ex4_37.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/2339/CH4/EX4.37.1/Ex4_37.sce b/2339/CH4/EX4.37.1/Ex4_37.sce new file mode 100755 index 000000000..3b0beac29 --- /dev/null +++ b/2339/CH4/EX4.37.1/Ex4_37.sce @@ -0,0 +1,28 @@ +clc
+clear
+
+m1=0.45; //in kg
+m=7; //in kg
+P1=12; //in bar
+Bar=760; //mm of Hg Barometer reading
+Man=180; //mm of Hg Manometer Reading
+Cps=2.1; //in kJ/kg K
+P=Bar+Man;
+P2=(P*1.01325)/760; //Pressure in bar
+Tsup=140+273; //in K
+x1=m/(m+m1);
+
+//Now at 12 bar pressure
+Hf=798.6; //in kJ/kg
+Hfg=1986.2; //in kJ/kg
+
+//At 1.25 bar pressure
+Hg=2685.3; //in kJ/kg
+Tsat=106+273; //in K
+//For throttling H1=H2
+H2=Hg+(Cps*(Tsup-Tsat));
+x2=(H2-Hf)/Hfg;
+
+x=x1*x2;
+printf('The dryness fraction: %2.3f ',x);
+printf('\n');
|