summaryrefslogtreecommitdiff
path: root/3819/CH3/EX3.2/Ex3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3819/CH3/EX3.2/Ex3_2.sce')
-rw-r--r--3819/CH3/EX3.2/Ex3_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3819/CH3/EX3.2/Ex3_2.sce b/3819/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..de4861627
--- /dev/null
+++ b/3819/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,18 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 3-Hydrostatic Forces on surfaces
+// Problem 3.2
+
+//Data given in the Problem
+d=1.5
+g=9.81
+dens=1000
+h=3
+
+//Calculations
+A=%pi*d*d/4
+F=dens*g*A*h
+mprintf("The Total Pressure on the circular plate is %f N\n",F)
+//Position of Centre of Presusre
+I_G=%pi*d/64
+H=h+I_G/(A*h)
+mprintf("The position of the centre of Pressure is %f m ",H)