summaryrefslogtreecommitdiff
path: root/3819/CH3/EX3.36/Ex3_36.sce
diff options
context:
space:
mode:
Diffstat (limited to '3819/CH3/EX3.36/Ex3_36.sce')
-rw-r--r--3819/CH3/EX3.36/Ex3_36.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3819/CH3/EX3.36/Ex3_36.sce b/3819/CH3/EX3.36/Ex3_36.sce
new file mode 100644
index 000000000..a575a3ad7
--- /dev/null
+++ b/3819/CH3/EX3.36/Ex3_36.sce
@@ -0,0 +1,19 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 2 - Pressure and its measurements
+// Problem 3.36
+
+//Given Data Set in the Problem
+dens=1000
+g=9.81
+L=6
+b=2.5
+H=2
+a=2.4
+AB=L
+
+//calculations
+tan_theta=a/g
+BC=AB*tan_theta
+Vol=(1/2*AB*BC)*b //vol of spilled water
+mprintf("The volume of spilled water is %f m^3\n",Vol)
+