summaryrefslogtreecommitdiff
path: root/1472/CH6/EX6.2/6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1472/CH6/EX6.2/6_2.sce')
-rwxr-xr-x1472/CH6/EX6.2/6_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1472/CH6/EX6.2/6_2.sce b/1472/CH6/EX6.2/6_2.sce
new file mode 100755
index 000000000..257760aa7
--- /dev/null
+++ b/1472/CH6/EX6.2/6_2.sce
@@ -0,0 +1,10 @@
+clc
+//initialization of varaibles
+w1=500 //lb/min
+h1=132.9 //lb/min
+h2=1150 //B/lb
+h3=180 //B/lb
+//calculations
+w2=(w1*h1-w1*h3)/(h3-h2)
+//results
+printf("Flow rate = %.1f lb/min",w2)