summaryrefslogtreecommitdiff
path: root/2141/CH9/EX9.6/Ex9_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2141/CH9/EX9.6/Ex9_6.sce')
-rwxr-xr-x2141/CH9/EX9.6/Ex9_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2141/CH9/EX9.6/Ex9_6.sce b/2141/CH9/EX9.6/Ex9_6.sce
new file mode 100755
index 000000000..6f1dd3496
--- /dev/null
+++ b/2141/CH9/EX9.6/Ex9_6.sce
@@ -0,0 +1,17 @@
+
+clc
+//initialisation of variables
+h1=77.271
+s1=0.16888
+p2=132.86
+h2=90.306
+Wc=h2-h1
+h4=31.100
+r=200//lbm/hr
+T=12000//Btu
+//CALCULATIONS
+qL=h1-h4//Btu/lbm
+beta=qL/Wc //Btu/lbm
+Capacity=qL*r/T//tons
+//RESULTS
+printf('The coefficient of performance and the capacity of the plant in tons =%f tons',Capacity)