summaryrefslogtreecommitdiff
path: root/3819/CH2/EX2.8/Ex2_8.sce
blob: 9a3b3483c735e8ddb3e2620327455c7326b063c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)