summaryrefslogtreecommitdiff
path: root/2135/CH1/EX1.10/Exa_1_10.sce
blob: 9ec40beb196dac118b913a6f8f6d83bc93ced704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Exa 1.10
clc;
clear;
close;
format('v',9);

//Given Data :
Patm=75;//mm of Hg
Patm=Patm*1.01325/76;//bar
rho=800;//Kg.m^3
h=30/100;//m
g=9.81;//gravity constant
deltaP=rho*g*h*10^-5;//bar
Pabs=deltaP+Patm;//bar
disp(Pabs,"Absolute pressure of gas in bar : ");