diff options
Diffstat (limited to '629/CH4/EX4.4/example4_4.sce')
-rw-r--r-- | 629/CH4/EX4.4/example4_4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/629/CH4/EX4.4/example4_4.sce b/629/CH4/EX4.4/example4_4.sce new file mode 100644 index 000000000..2feeece3d --- /dev/null +++ b/629/CH4/EX4.4/example4_4.sce @@ -0,0 +1,12 @@ +clear
+clc
+//Example 4.4 SURFACE PROFILE OF ROTATING LIQUID
+g=9.81; //[m/s^2]
+d=0.5; //[m]
+w=4; //(rad/s)
+//(p1/gamma)+z1-(w^2*r1^2/(2*g))=(p2/gamma)+z2-(w^2*r2^2/(2*g))
+//p1=p2
+r1=0; //[m]
+r2=d/2; //[m]
+delz=(w^2*(r2^2-r1^2)/(2*g)) //delz=(z2-z1),[m]
+printf("\nThe elevation difference between the liquid at the center and the wall, during rotation = %.3f m.\n",delz)
\ No newline at end of file |