summaryrefslogtreecommitdiff
path: root/3845/CH12/EX12.6/Ex12_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH12/EX12.6/Ex12_6.sce')
-rw-r--r--3845/CH12/EX12.6/Ex12_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3845/CH12/EX12.6/Ex12_6.sce b/3845/CH12/EX12.6/Ex12_6.sce
new file mode 100644
index 000000000..ca2bd1e3c
--- /dev/null
+++ b/3845/CH12/EX12.6/Ex12_6.sce
@@ -0,0 +1,10 @@
+//Example 12.6
+P1=1.62*10^6;//Pressure at the hose inlet, see Example 12.5 (N/m^2)
+P_h=0.7*10^6;//Pressure at hydrant outlet (N/m^2)
+P=P1-P_h;//Pressure increase due to the pump (N/m^2)
+Q=40;//Flow rate, See Example 12.5 (L/s)
+Q=Q/10^3;//Flow rate (m^3/s)
+power=P*Q;//Power (W)
+printf('Power supplied by the pump = %0.1f kW',power/1000)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest