summaryrefslogtreecommitdiff
path: root/551/CH2/EX2.3/3.sce
blob: e10a58ff9386eba79dc5d46ee39cf05ff74c224d (plain)
1
2
3
4
5
6
7
8
9
10
clc
SG=0.9;
h=1.2; //m
g=9.81; //m/s^2
rho_w=1000; //kg/m^3
rho=SG*rho_w; //kg/m^3
P=rho*g*h/10^3;
disp("Gauge pressure P=")
disp(P)
disp("kN/m^2")