summaryrefslogtreecommitdiff
path: root/2144/CH1/EX1.1/ex1_1.sce
blob: 001a140f8c6ea750fcd0f0168ccb484b5bc4e36f (plain)
1
2
3
4
5
6
7
8
9
10
11
// Exa 1.1
clc;
clear;
close;
// Given data
P_m = 760;// pressure of mercury in mm
P_m_bar = P_m/750;// in bar
P_W = 0.006867;// pressure of water in bar
P = P_m_bar+P_W;// in bar
disp(P,"The absolute pressure of gas in bar is");