diff options
Diffstat (limited to '2021/CH2/EX2.3/EX2_3.sce')
-rwxr-xr-x | 2021/CH2/EX2.3/EX2_3.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2021/CH2/EX2.3/EX2_3.sce b/2021/CH2/EX2.3/EX2_3.sce new file mode 100755 index 000000000..02d14e386 --- /dev/null +++ b/2021/CH2/EX2.3/EX2_3.sce @@ -0,0 +1,13 @@ +//Finding of Height
+//Given
+p=4.9*10^4; //Pressure intensity in N/mm^2
+rho=1000; //Density of water in kg/m^3
+g=9.81; //gravitational force in m/sec^2
+spgr=0.8; //Specific gravity of oil
+w=rho*g;
+w1=rho*g*spgr;
+//To Find
+h=p/w;
+h1=p/w1;
+disp("Height of water ="+string(h)+" m");
+disp("Height of oil ="+string(h1)+" m");
|