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 /2141/CH9/EX9.1/Ex9_1.sce | |
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 '2141/CH9/EX9.1/Ex9_1.sce')
-rwxr-xr-x | 2141/CH9/EX9.1/Ex9_1.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2141/CH9/EX9.1/Ex9_1.sce b/2141/CH9/EX9.1/Ex9_1.sce new file mode 100755 index 000000000..01bc2fbae --- /dev/null +++ b/2141/CH9/EX9.1/Ex9_1.sce @@ -0,0 +1,21 @@ +
+clc
+//initialisation of variables
+p1=1//lbf/in^2
+p2=300//lbf/in^2
+v=0.01614 //lbf
+Wp=v*(p2-p1)*144/774//Btu/lbm
+h1=69.7//lbm
+h2=h1+Wp //Btu/lbm
+h3=1202.8//lbm
+qH=h3-h2 //Btu/lbm
+s4=1.9782
+x=0.2535
+h4=843.3 //Btu/lbm
+Wt=h3-h4 //Btu/lbm
+qL=h4-h1//Btu/lbm
+//CALCULATIONS
+n=(Wt-Wp)/qH*100 //per-cent
+N=(qH-qL)/qH*100//per-cent
+//RESULTS
+printf('The thermal efficiency=% f per-cent',N)
|