diff options
Diffstat (limited to '629/CH4/EX4.7/example4_7.sce')
-rw-r--r-- | 629/CH4/EX4.7/example4_7.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/629/CH4/EX4.7/example4_7.sce b/629/CH4/EX4.7/example4_7.sce new file mode 100644 index 000000000..348b16f21 --- /dev/null +++ b/629/CH4/EX4.7/example4_7.sce @@ -0,0 +1,9 @@ +clear
+clc
+//Example 4.7 OUTLET VELOCITY FROM DRAINING TANK
+g=9.81; //[m/s^2]
+delz=10; //delz=(z1-z2),[m]
+//(p1/gamma)+z1-(V1^2/(2*g))=(p2/gamma)+z2-(V2^2/(2*g)), p1=p2
+V1=0;//[m]
+V2=sqrt(V1^2+2*g*delz) //[m/s]
+printf("\nThe velocity of the liquid in the drain port = %.f m/s.\n",V2)
\ No newline at end of file |