summaryrefslogtreecommitdiff
path: root/2021/CH2/EX2.2/EX2_2.sce
blob: 70806f197a1dc824495ea5a68146094c26f39b74 (plain)
1
2
3
4
5
6
7
8
9
10
//Finding of Depth of Water
//Given
p=100.5525*10^4;                //pressure intensity in N/m^2
spgr=1.025;                //Specific gravity
rho=1000;                  //Density of water in kg/m^3
g=9.81;                    //Gravitational force due to acceleration in m/sec^2
w=rho*g;
//To Find
h=p/w;
disp("Depth of Water = "+string(h)+" m");