summaryrefslogtreecommitdiff
path: root/1460/CH9/EX9.2/9_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1460/CH9/EX9.2/9_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1460/CH9/EX9.2/9_2.sce')
-rwxr-xr-x1460/CH9/EX9.2/9_2.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/1460/CH9/EX9.2/9_2.sce b/1460/CH9/EX9.2/9_2.sce
new file mode 100755
index 000000000..3bc975306
--- /dev/null
+++ b/1460/CH9/EX9.2/9_2.sce
@@ -0,0 +1,26 @@
+clc
+//initialization of variables
+P1=400 //lb/in^2
+T1=800+460 //R
+Pt1=1 //lb/in^2
+T2=95+460 //R
+Pt2=500 //lb/in^2
+es=0.8
+ep=0.75
+et=0.8
+//calculations
+disp("From Appendix steam tables and mollier chart")
+ht1=62.98
+ht3=1416.4
+ht4s=941.1
+vt1=0.0161
+WbyJ=vt1*(Pt2-Pt1)/(ep*778)
+ht2=WbyJ+ht1
+Q=(ht3-ht2)/et
+WtbyJ=et*(ht3-ht4s)
+dW=778*(WtbyJ-WbyJ)
+eta=WtbyJ/Q
+//results
+printf("Thermal efficiency = %.3f",eta)
+printf("\n Specific net work = %d B/lbm",dW)
+//The answers in the textbook are a bit different due tot rounding off error