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.4 | |
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.4')
-rwxr-xr-x | 2666/CH18/EX18.4/18_4.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2666/CH18/EX18.4/18_4.sce b/2666/CH18/EX18.4/18_4.sce new file mode 100755 index 000000000..edf021a8a --- /dev/null +++ b/2666/CH18/EX18.4/18_4.sce @@ -0,0 +1,20 @@ +
+clc
+//initialisation of variables
+f=18385//Btu per lb of fuel
+m=925//Btu per lb
+w=0.0159//ft
+p=0.60//percent
+h1=126.70//Btu per lb
+h2=240.36//Btu per lb
+hx=194.9//ft
+w1=0.0119//lb fuel per lb air
+q=1.0119//Btu per lb
+p1=0.98//in
+p2=28.77//ft
+s=19800//ft in
+g=398.47//ft
+//CALCULATIONS
+T=(q*(g-h2)*p1-(h1-p2)/p1)/(w1*s)*100//percent
+//RESULTS
+printf('the thermal efficency=% f percent',T)
|