summaryrefslogtreecommitdiff
path: root/3831/CH6/EX6.5/Ex6_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3831/CH6/EX6.5/Ex6_5.sce')
-rw-r--r--3831/CH6/EX6.5/Ex6_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3831/CH6/EX6.5/Ex6_5.sce b/3831/CH6/EX6.5/Ex6_5.sce
new file mode 100644
index 000000000..0e152bf5d
--- /dev/null
+++ b/3831/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,16 @@
+// Example 6_5
+clc;funcprot(0);
+// Given data
+p_1=85.0;// psig
+p_2=10.0;// psig
+t=8.00;// hour
+m=20.0;// gal
+
+// Calculation
+mv=20.0/8.00;// gal/h
+mv=mv*0.13368*(1/3600);// ft^3/s
+W_shaft=mv*(p_1-p_2)*144;// ft.lbf/s
+W_shaft=W_shaft*(1/550);// hp
+W_shaft=W_shaft*746;// W
+W_shaft_ins=W_shaft*5*60*(1/2.50);// W
+printf("\nThe hydraulic power produced,(W_shaft)_instantaneous=%3.0f W",W_shaft_ins);