diff options
Diffstat (limited to '3819/CH3/EX3.6/Ex3_6.sce')
-rw-r--r-- | 3819/CH3/EX3.6/Ex3_6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3819/CH3/EX3.6/Ex3_6.sce b/3819/CH3/EX3.6/Ex3_6.sce new file mode 100644 index 000000000..324527de4 --- /dev/null +++ b/3819/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,19 @@ +// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 3-Hydrostatic Forces on surfaces
+// Problem 3.6
+
+//Data given in the Problem
+b=4
+h=4
+A=b*h/2
+SG=0.9
+g=9.81
+dens=SG*1000
+
+//Calculations
+H=1/3*h //Distance of CG from the free surface of the oil
+F=dens*g*A*H
+,printf("The Total pressure is %f N\n",F)
+IG=b*h^3/36
+COP=IG/(A*H)+H
+mprintf("The Centre of pressure is given by %f m",COP)
|