summaryrefslogtreecommitdiff
path: root/2175/CH4/EX4.13/4_13.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2175/CH4/EX4.13/4_13.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 '2175/CH4/EX4.13/4_13.sce')
-rwxr-xr-x2175/CH4/EX4.13/4_13.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2175/CH4/EX4.13/4_13.sce b/2175/CH4/EX4.13/4_13.sce
new file mode 100755
index 000000000..51787b79c
--- /dev/null
+++ b/2175/CH4/EX4.13/4_13.sce
@@ -0,0 +1,19 @@
+clc;
+h1=3248;//kJ/kg
+h2=2965;//kJ/kg
+h2s=2753+[(7.126-6.929)/(7.172-6.929)]*(2862-2753);
+
+eff=(h1-h2)/(h1-h2s);
+disp("isentropic efficiency is:");
+disp("%",eff*100);
+
+s1=7.126;//kJ/kg K
+s2=7.379;//kJ/kg K
+T0=288;//K
+loss=h1-h2+T0*(s2-s1);
+disp("loss of energy is:");
+disp("kJ/kg K",loss);
+
+e=(h1-h2)/loss;
+disp("effectiveness is:");
+disp("%",e*100);