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

//Given Data Set in the Problem
SG1=0.8
SG2=13.6
dens1=SG1*1000
dens2=13.6*1000
g=9.81
h2=40/100
h1=15/100

//Calculations
//Since, (dens2*g*h2)+(dens1*g*h1)+p=0
p=-((dens2*g*h2)+(dens1*g*h1))
mprintf("The vacuum pressure in the pipe is %f N/cm^2 ",p*10^-4)