summaryrefslogtreecommitdiff
path: root/2666/CH18/EX18.1/18_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2666/CH18/EX18.1/18_1.sce')
-rwxr-xr-x2666/CH18/EX18.1/18_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2666/CH18/EX18.1/18_1.sce b/2666/CH18/EX18.1/18_1.sce
new file mode 100755
index 000000000..d87355e52
--- /dev/null
+++ b/2666/CH18/EX18.1/18_1.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+r=6//ratio
+p1=28.77//ft
+p2=126.70//ft
+p3=398.47//ft
+p4=240.36//ft
+v=19800//btu per lb
+w=0.0159//ft
+m=0.98//percent
+s=1.0159//Btu per lb
+//CALCULATIONS
+E=(s*(p3-p4)*m-(p2-p1)/m)/(w*v)*100//percent
+//RESULTS
+printf('the actual thermal efficiency of a gas turbine=% f percent',E)