summaryrefslogtreecommitdiff
path: root/3819/CH2/EX2.5/Ex2_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3819/CH2/EX2.5/Ex2_5.sce')
-rw-r--r--3819/CH2/EX2.5/Ex2_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3819/CH2/EX2.5/Ex2_5.sce b/3819/CH2/EX2.5/Ex2_5.sce
new file mode 100644
index 000000000..ca09443e1
--- /dev/null
+++ b/3819/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,16 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 2 - Pressure and its measurements
+// Problem 2.5
+
+//Given Data Set in the Problem
+SG_oil=0.9
+z_oil=40
+dens_water=1000
+g=9.81
+
+//Calculations
+dens_oil=SG_oil*dens_water
+//Using pressure=density * g * heighjt of column
+p_oil=dens_oil*g*z_oil
+z_water=p_oil/(dens_water*g)
+mprintf("The corresponding height of water column is %f m of water",z_water)