summaryrefslogtreecommitdiff
path: root/3819/CH4/EX4.20/Ex4_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3819/CH4/EX4.20/Ex4_20.sce')
-rw-r--r--3819/CH4/EX4.20/Ex4_20.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3819/CH4/EX4.20/Ex4_20.sce b/3819/CH4/EX4.20/Ex4_20.sce
new file mode 100644
index 000000000..b52f4b49b
--- /dev/null
+++ b/3819/CH4/EX4.20/Ex4_20.sce
@@ -0,0 +1,15 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 4-Buoyancy and Floatation
+//// Problem 4.20
+
+//Given Data Set in the Problem
+dens=1000
+g=9.81
+W=15696
+w1=245.25
+x=8
+theta=4
+
+//Calculations
+GM=w1*x/(W*tan (theta/180*%pi))
+mprintf("The meta centric height is %f m \n",GM)