summaryrefslogtreecommitdiff
path: root/3821/CH7/EX7.14/Example7_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3821/CH7/EX7.14/Example7_14.sce')
-rw-r--r--3821/CH7/EX7.14/Example7_14.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3821/CH7/EX7.14/Example7_14.sce b/3821/CH7/EX7.14/Example7_14.sce
new file mode 100644
index 000000000..78cf3c686
--- /dev/null
+++ b/3821/CH7/EX7.14/Example7_14.sce
@@ -0,0 +1,19 @@
+///Chapter No 7 Fluid Mechanics
+////Example 7.14 Page No:126
+////Find Total energy per unit weight
+//Input data
+clc;
+clear;
+V=13; //Velocity of water flowing throgh pipe in m/s
+P=200*10^3; //Pressure of water in Kpa
+Z=25; //Height above the datum in m
+g=9.81;
+rho=1000;
+
+
+///Calculation
+E=(P/(rho*g))+((V^2)/(2*g))+(Z); //Total energy per unit weight in m
+
+
+///Output
+printf('Total energy per unit weight= %f m \n',E);