summaryrefslogtreecommitdiff
path: root/2024/CH14/EX14.6/14_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2024/CH14/EX14.6/14_6.sce')
-rwxr-xr-x2024/CH14/EX14.6/14_6.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2024/CH14/EX14.6/14_6.sce b/2024/CH14/EX14.6/14_6.sce
new file mode 100755
index 000000000..6d77328f2
--- /dev/null
+++ b/2024/CH14/EX14.6/14_6.sce
@@ -0,0 +1,19 @@
+clc
+//Initialization of variables
+ha=44.36
+hc=18.04
+hj=197.58
+hh=213.5
+hd=hc
+he=190.66
+hk=241.25
+//calculations
+m=(hc-ha)/(ha-hj)
+hi=(m*hj+hh)/(1+m)
+Qa=he-hd
+W=he-hh + (1+m)*(hi-hk)
+cop=abs(Qa/W)
+hp=4.71/cop
+//results
+printf("\n horsepower required per ton of refrigeration = %.3f hp/ton refrigeration",hp)
+printf("\n Coefficient of performance actual = %.2f ",cop)