summaryrefslogtreecommitdiff
path: root/2339/CH4/EX4.8.1/Ex4_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2339/CH4/EX4.8.1/Ex4_8.sce
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 '2339/CH4/EX4.8.1/Ex4_8.sce')
-rwxr-xr-x2339/CH4/EX4.8.1/Ex4_8.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2339/CH4/EX4.8.1/Ex4_8.sce b/2339/CH4/EX4.8.1/Ex4_8.sce
new file mode 100755
index 000000000..9bdb825ae
--- /dev/null
+++ b/2339/CH4/EX4.8.1/Ex4_8.sce
@@ -0,0 +1,20 @@
+clc
+clear
+
+//Conditions at 8 bar
+P=8; //in bars
+x=0.8; //Dryness Fraction
+Hf=721.1; //in kJ/kg
+Hfg=2048.0; //in kJ/kg
+H1=Hf+(x*Hfg);
+H2=H1+410; //After adding 410 kJ of heat
+Hg=2769.1; //in kJ/kg
+printf('The Enthalpy of steam: %3.1f kJ/kg',H2);
+printf('\n');
+printf('The steam is superheated')
+printf('\n');
+V2=0.240; //in m^3/kg
+Vg=V2;
+Den=1/Vg;
+printf('The Density of steam: %3.3f kg/m^3',Den);
+printf('\n');