summaryrefslogtreecommitdiff
path: root/1394/CH14/EX14.4.1/Ex14_4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1394/CH14/EX14.4.1/Ex14_4_1.sce')
-rwxr-xr-x1394/CH14/EX14.4.1/Ex14_4_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1394/CH14/EX14.4.1/Ex14_4_1.sce b/1394/CH14/EX14.4.1/Ex14_4_1.sce
new file mode 100755
index 000000000..1f883097d
--- /dev/null
+++ b/1394/CH14/EX14.4.1/Ex14_4_1.sce
@@ -0,0 +1,19 @@
+
+
+clc
+//Initialization of variables
+m = 0.018
+H = 450 // litres/hr
+L = 37 // litres/hr
+Ynplus1byY1 = 100
+//Calculations
+E =m*H/L
+nplus1 = log((Ynplus1byY1*((1/E)-1))+1)/log(1/E)
+n = nplus1 -1
+printf("The number of ideal stages are %.f",n)
+N = 0.60//Murphree efficienct
+E1 = (m*H/L) + (1/N) - 1
+nplus1 = log((Ynplus1byY1*((1/E1)-1))+1)/log(1/E1)
+n=nplus1-1
+printf("\nThe number of stages required if Murphree efficiency is 60 percent is %.f",n)
+