summaryrefslogtreecommitdiff
path: root/3819/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3819/CH2/EX2.8/Ex2_8.sce')
-rw-r--r--3819/CH2/EX2.8/Ex2_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3819/CH2/EX2.8/Ex2_8.sce b/3819/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..9a3b3483c
--- /dev/null
+++ b/3819/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,19 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 2 - Pressure and its measurements
+// Problem 2.8
+
+//Given Data Set in the Problem
+z1=3
+dens1=1.53*10^3
+z0=750/1000
+g=9.81
+dens_w=1000
+SG=13.6
+
+//Calculations
+//Using , p=density * g * height
+p_atm=SG*dens_w*g*z0
+p_gauge=dens1*g*z1
+p=p_gauge+p_atm
+mprintf("The Gauge Pressure is %f N/m^2 \n",p_gauge)
+mprintf("The Absolute Pressure is %f N/m^2",p)