summaryrefslogtreecommitdiff
path: root/2144/CH1/EX1.2/ex1_2.sce
blob: fd78daad8549359208617c1fd11d2b3b5e938017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Exa 1.2
clc;
clear;
close;
// Given data
Rho = 13.6;
g = 9.81;
a = 760;// in mm
b = 480;// in mm
h = a-b;// in mm
P = (1000*Rho*g*h)/(1000);// in N/m^2
disp(P,"The absolute pressure in N/m^2 is");
P = P /100;// in mbar
disp(P,"The absolute pressure in mbar is");