summaryrefslogtreecommitdiff
path: root/2021/CH2/EX2.4/EX2_4.sce
blob: 2f5ead1f371d2f99e247aa32cecd85f3e7fd118f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Finding of Pressure intensity
//Given
spgr=0.8;               //Specific gravity of oil
spgr1=1.5;                
rho=1000;               //Density of water in Kg/m^3
g=9.81;                 //Gravitational force m/s^2
h1=2;                    //Depth in meter
//To Find
w=rho*g*spgr;
p=w*h1;                  //Pressure at the interface
disp("Pressure Intensity ="+string(p)+" N/m^2");
w1=rho*g*spgr1;
p1=1.5969+w1;
disp("Pressure Intensity at Bottom ="+string(p1)+" N/m^2");