summaryrefslogtreecommitdiff
path: root/2015/CH4/EX4.6/4_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2015/CH4/EX4.6/4_6.sce')
-rwxr-xr-x2015/CH4/EX4.6/4_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2015/CH4/EX4.6/4_6.sce b/2015/CH4/EX4.6/4_6.sce
new file mode 100755
index 000000000..a30ab71af
--- /dev/null
+++ b/2015/CH4/EX4.6/4_6.sce
@@ -0,0 +1,18 @@
+clc
+//initialisation of variables
+h1=2979 //kj/kg
+h2=2504.3 //kj/kg
+h3=1987.4 //kj/kg
+h4=152 //kj/kg
+h6=561 //kj/kg
+//CALCULATIONS
+m=(h6-h4)/(h2-h4)
+wo=(h1-h2)+(1-m)*(h2-h3)
+qs=h1-h6
+teff=wo/qs
+ssc=3600/wo
+//RESULTS
+printf('work output is %2fkj/kg',wo)
+printf('\nheat supplied is %2fkj/kg',qs)
+printf('\nthermal efficiency is %2f',teff)
+printf('\nspecific steam consumption is %2fkg/kwh',ssc)