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 /2666/CH18/EX18.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 '2666/CH18/EX18.1')
-rwxr-xr-x | 2666/CH18/EX18.1/18_1.sce | 15 |
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)
|