summaryrefslogtreecommitdiff
path: root/3819/CH2/EX2.15/Ex2_15.sce
blob: 1dfdf21936d4145f78a1eb2dbeca567349f2b8fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.15

//Given Data Set in the Problem
SG1=0.9
SG2=13.6
dens=1000
h=15/100
g=9.81

//Calculations
dens2=SG2*dens
dens1=SG1*dens
delta_p=g*h*(dens2-dens1)
mprintf("The pressure difference is %f N/m^2\n",delta_p)